pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libdaemon libdaemon: Use OPSYS_VERSION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2820fcd479b2
branches:  trunk
changeset: 770343:2820fcd479b2
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Nov 29 16:31:57 2021 +0000

description:
libdaemon: Use OPSYS_VERSION.

diffstat:

 devel/libdaemon/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r bcc95426ef08 -r 2820fcd479b2 devel/libdaemon/Makefile
--- a/devel/libdaemon/Makefile  Mon Nov 29 16:29:34 2021 +0000
+++ b/devel/libdaemon/Makefile  Mon Nov 29 16:31:57 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2020/04/26 09:55:09 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2021/11/29 16:31:57 jperkin Exp $
 #
 
 DISTNAME=              libdaemon-0.14
@@ -25,6 +25,6 @@
 
 .include "../../mk/bsd.pkg.mk"
 
-.if (${OPSYS} == "NetBSD" && ${OS_VERSION:M4.*} != "") || (${OPSYS} == "OpenBSD")
+.if (${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 050000) || ${OPSYS} == "OpenBSD"
 BUILDLINK_TRANSFORM+=  rm:-Wl,--no-undefined
 .endif



Home | Main Index | Thread Index | Old Index