From 90c3cfd0fb47dd35b8cac959a690fdce687455e6 Mon Sep 17 00:00:00 2001 From: agc Date: Tue, 1 Jul 2008 08:34:37 +0000 Subject: Disable linker optimizations on Darwin, thereby allowing this package to build on Mac OS X Leper. --- misc/dpkg/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'misc/dpkg') 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/ -- cgit v1.2.3