diff options
author | abs <abs> | 2001-10-10 11:17:28 +0000 |
---|---|---|
committer | abs <abs> | 2001-10-10 11:17:28 +0000 |
commit | 06edd832b07ff2acc099b03a3d58f672cba5c877 (patch) | |
tree | 8be356ad2bac10f434119dd0c254999a886870db /net | |
parent | 845a27deb8c478b226634120f3f9a239adee1296 (diff) | |
download | pkgsrc-06edd832b07ff2acc099b03a3d58f672cba5c877.tar.gz |
Avoid cc -O bug on arm32 for djbdns
Diffstat (limited to 'net')
-rw-r--r-- | net/djbdns/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile index cce8f11e4fd..3b071628bdf 100644 --- a/net/djbdns/Makefile +++ b/net/djbdns/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2001/03/26 17:56:09 zuntum Exp $ +# $NetBSD: Makefile,v 1.14 2001/10/10 11:17:28 abs Exp $ # FreeBSD Id: ports/net/djbdns/Makefile,v 1.4 2000/09/28 18:18:41 nbm Exp DISTNAME= djbdns-1.05 @@ -31,6 +31,10 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} \ ALL_TARGET= it INSTALL_TARGET= setup check +.if (${MACHINE_ARCH} == "arm32" && ${CFLAGS} == "-O2") +CFLAGS= -O0 +.endif + post-extract: ${SED} "s|/usr/bin/perl|${LOCALBASE}/bin/perl|" \ ${DISTDIR}/tinydns-log.pl.txt > ${WRKDIR}/tinydns-log.pl |