diff options
author | agc <agc> | 2008-07-01 08:34:37 +0000 |
---|---|---|
committer | agc <agc> | 2008-07-01 08:34:37 +0000 |
commit | 8f91a5189035f164b4fbde00e46d9e39087910e9 (patch) | |
tree | 1ff52587b6dc6168c4f6f0a338f022bb41f095f1 | |
parent | fa9f12463c28462ccb951a091591fcfc30ab0bfe (diff) | |
download | pkgsrc-8f91a5189035f164b4fbde00e46d9e39087910e9.tar.gz |
Disable linker optimizations on Darwin, thereby allowing this package to
build on Mac OS X Leper.
-rw-r--r-- | misc/dpkg/Makefile | 8 |
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/ |