summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2012-06-26 18:21:24 +0000
committerdrochner <drochner@pkgsrc.org>2012-06-26 18:21:24 +0000
commit6b81fa6836b2b004f8816240f8ca67da6a9d3489 (patch)
treeca7e9b56dcd2531889566409df8e0ee6a5e8098b /devel/glib2
parente5ac85abf25f05de1f5bdf3114d989d29d9fe34b (diff)
downloadpkgsrc-6b81fa6836b2b004f8816240f8ca67da6a9d3489.tar.gz
don't pull in libelf on SunOS, to fix build problems (PR pkg/46478)
This is a poor fix for an apparently not well understood problem, so we should consider it a stopgap fix and find a sustainable solution after the freeze.
Diffstat (limited to 'devel/glib2')
-rw-r--r--devel/glib2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile
index fc2cdf36fbe..56889144117 100644
--- a/devel/glib2/Makefile
+++ b/devel/glib2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.205 2012/05/22 20:40:07 jmmv Exp $
+# $NetBSD: Makefile,v 1.206 2012/06/26 18:21:24 drochner Exp $
.include "Makefile.common"
.include "options.mk"
@@ -44,7 +44,7 @@ BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.2.1
LIBS.SunOS+= -lnsl -lsocket
CPPFLAGS.SunOS+= -DBSD_COMP
-.if ${OBJECT_FMT} == "ELF"
+.if ${OBJECT_FMT} == "ELF" && ${OPSYS} != "SunOS"
.include "../../devel/libelf/buildlink3.mk"
.endif