summaryrefslogtreecommitdiff
path: root/devel/libzen
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-01-01 09:22:05 +0000
committerobache <obache@pkgsrc.org>2014-01-01 09:22:05 +0000
commit6ec4c27b8b97c34c0c1038ea91a0e52a10dc2e53 (patch)
tree2d93ed25071560a2fca54f1445bd2d5fc792e478 /devel/libzen
parent8f8dba2322e869f84d6fd8bd72670b7a595598b0 (diff)
downloadpkgsrc-6ec4c27b8b97c34c0c1038ea91a0e52a10dc2e53.tar.gz
Use _OPSYS_SHLIB_TYPE instead of SHLIB_TYPE, it is not defined even after
bsd.prefs.mk. _OPSYS_SHLIB_TYPE is sufficient to check whether shlib is supported or not.
Diffstat (limited to 'devel/libzen')
-rw-r--r--devel/libzen/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/libzen/Makefile b/devel/libzen/Makefile
index c57a028634c..62f49fd7e5e 100644
--- a/devel/libzen/Makefile
+++ b/devel/libzen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/12/31 23:10:21 ryoon Exp $
+# $NetBSD: Makefile,v 1.2 2014/01/01 09:22:05 obache Exp $
DISTNAME= libzen_0.4.29
PKGNAME= ${DISTNAME:S/_/-/}
@@ -23,8 +23,9 @@ PKGCONFIG_OVERRIDE+= Project/GNU/Library/libzen.pc.in
CONFIGURE_DIRS+= Project/GNU/Library
+.include "../../mk/bsd.prefs.mk"
# Enable shared library
-.if empty(SHLIB_TYPE:Mnone)
+.if empty(_OPSYS_SHLIB_TYPE:Mnone)
CONFIGURE_ARGS+= --enable-shared
.endif