summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoragc <agc>2008-07-01 08:34:37 +0000
committeragc <agc>2008-07-01 08:34:37 +0000
commit8f91a5189035f164b4fbde00e46d9e39087910e9 (patch)
tree1ff52587b6dc6168c4f6f0a338f022bb41f095f1 /misc
parentfa9f12463c28462ccb951a091591fcfc30ab0bfe (diff)
downloadpkgsrc-8f91a5189035f164b4fbde00e46d9e39087910e9.tar.gz
Disable linker optimizations on Darwin, thereby allowing this package to
build on Mac OS X Leper.
Diffstat (limited to 'misc')
-rw-r--r--misc/dpkg/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/dpkg/Makefile b/misc/dpkg/Makefile
index 5669facbfb6..a6b9684a323 100644
--- a/misc/dpkg/Makefile
+++ b/misc/dpkg/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2008/06/12 02:14:37 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2008/07/01 08:34:37 agc Exp $
#
DISTNAME= dpkg_1.13.25
@@ -31,6 +31,12 @@ CONFIGURE_ARGS+= --with-sgml-doc=no
CONFIGURE_ARGS+= --with-admindir=${VARBASE}/db/dpkg
CONFIGURE_ARGS+= --sysconfdir=${PREFIX}/share/dpkg
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --enable-linker-optimisations=no
+.endif
+
post-extract:
cd ${FILESDIR} && cp obstack.* ${WRKSRC}/lib/