pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/9base 9base: do not force static linking
details: https://anonhg.NetBSD.org/pkgsrc/rev/e1e03a0e7e76
branches: trunk
changeset: 385693:e1e03a0e7e76
user: nia <nia%pkgsrc.org@localhost>
date: Sat Sep 24 08:27:52 2022 +0000
description:
9base: do not force static linking
diffstat:
sysutils/9base/Makefile | 19 ++++---------------
1 files changed, 4 insertions(+), 15 deletions(-)
diffs (36 lines):
diff -r cbd79f979cd5 -r e1e03a0e7e76 sysutils/9base/Makefile
--- a/sysutils/9base/Makefile Sat Sep 24 08:21:59 2022 +0000
+++ b/sysutils/9base/Makefile Sat Sep 24 08:27:52 2022 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2021/04/13 08:05:30 nia Exp $
+# $NetBSD: Makefile,v 1.22 2022/09/24 08:27:52 nia Exp $
DISTNAME= 9base-6
PKGNAME= 9base-20100604
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= sysutils shells
MASTER_SITES= http://dl.suckless.org/tools/
@@ -20,19 +20,8 @@
# commits utter sins with sprintf() macros; glhf
FORTIFY_SUPPORTED= no
-.include "../../mk/bsd.prefs.mk"
-
-# Darwin doesn't support static link.
-# See http://developer.apple.com/library/mac/#qa/qa1118/_index.html
-.if ${OPSYS} == "Darwin"
-BUILDLINK_TRANSFORM+= rm:-static
-.elif ${OPSYS} == "SunOS"
-BUILDLINK_TRANSFORM+= rm:-static
-CFLAGS+= -DPLAN9PORT
-LDFLAGS+= -lsocket -lnsl
-.else
-LDFLAGS+= -static
-.endif
+CFLAGS.SunOS+= -DPLAN9PORT
+LDFLAGS.SunOS+= -lsocket -lnsl
PREFIX9P= ${PREFIX}/9base
Home |
Main Index |
Thread Index |
Old Index