pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/ytree



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Sep 24 07:54:18 UTC 2022

Modified Files:
        pkgsrc/sysutils/ytree: Makefile

Log Message:
ytree: on NetBSD build with PIC-enabled version of libcompat.a


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/ytree/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/ytree/Makefile
diff -u pkgsrc/sysutils/ytree/Makefile:1.3 pkgsrc/sysutils/ytree/Makefile:1.4
--- pkgsrc/sysutils/ytree/Makefile:1.3  Sun Nov 21 07:43:31 2021
+++ pkgsrc/sysutils/ytree/Makefile      Sat Sep 24 07:54:17 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2021/11/21 07:43:31 fcambus Exp $
+# $NetBSD: Makefile,v 1.4 2022/09/24 07:54:17 nia Exp $
 
 DISTNAME=      ytree-2.04
 CATEGORIES=    sysutils
@@ -13,8 +13,10 @@ BUILD_TARGET=        ytree
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" || \
-    ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
+.if ${OPSYS} == "NetBSD"
+LDFLAGS+=      ${BUILDLINK_LDADD.curses} -lcompat_p -lreadline
+.elif ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" || \
+    ${OPSYS} == "OpenBSD"
 LDFLAGS+=      ${BUILDLINK_LDADD.curses} -lcompat -lreadline
 .else
 LDFLAGS+=      ${BUILDLINK_LDADD.curses} -lreadline



Home | Main Index | Thread Index | Old Index