libdaemon: Use OPSYS_VERSION.
This commit is contained in:
parent
035ed3802f
commit
2170922814
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ post-install:
|
|||
|
||||
.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
|
||||
|
|
Loading…
Reference in a new issue