pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/ytree ytree: on NetBSD build with PIC-enabled...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f36b712ef32
branches:  trunk
changeset: 385686:5f36b712ef32
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Sep 24 07:54:17 2022 +0000

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

diffstat:

 sysutils/ytree/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r ab4681a843a3 -r 5f36b712ef32 sysutils/ytree/Makefile
--- a/sysutils/ytree/Makefile   Sat Sep 24 07:51:14 2022 +0000
+++ b/sysutils/ytree/Makefile   Sat Sep 24 07:54:17 2022 +0000
@@ -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 @@
 
 .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