summaryrefslogtreecommitdiff
path: root/devel/gob2
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-03-03 12:56:46 +0000
committerjperkin <jperkin@pkgsrc.org>2016-03-03 12:56:46 +0000
commit8e74b7480d57c250f7cf31159a94c662392345c0 (patch)
treec8674d0a2d9a917aa5848747d1d817341bc0f5ac /devel/gob2
parent010f8fec52f28600306efe91b085a80253d5b0d3 (diff)
downloadpkgsrc-8e74b7480d57c250f7cf31159a94c662392345c0.tar.gz
Only add -lfl on NetBSD. The list of OPSYS that the default addition
was broken on was getting too long, with the potential for many more. Fixes build on Darwin. Use OPSYSVARS while here.
Diffstat (limited to 'devel/gob2')
-rw-r--r--devel/gob2/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/devel/gob2/Makefile b/devel/gob2/Makefile
index 28ff1375c1e..7021485ce7b 100644
--- a/devel/gob2/Makefile
+++ b/devel/gob2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2014/07/11 09:57:23 jperkin Exp $
+# $NetBSD: Makefile,v 1.27 2016/03/03 12:56:46 jperkin Exp $
DISTNAME= gob2-2.0.20
PKGREVISION= 1
@@ -10,14 +10,10 @@ HOMEPAGE= http://www.5z.com/jirka/gob.html
COMMENT= GNOME object builder for glib2
LICENSE= gnu-gpl-v2
-USE_TOOLS+= lex:run pkg-config
-GNU_CONFIGURE= yes
+USE_TOOLS+= lex:run pkg-config
+GNU_CONFIGURE= yes
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "SunOS" && ${OPSYS} != "Linux"
-LIBS+= -lfl
-.endif
+LIBS.NetBSD+= -lfl
.include "../../devel/glib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"