summaryrefslogtreecommitdiff
path: root/net/udns
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2013-01-26 21:25:12 +0000
committerschnoebe <schnoebe@pkgsrc.org>2013-01-26 21:25:12 +0000
commitee477ba551a67e89c546c4a9f07b5880a2172851 (patch)
treed54ec91f72543f782025ad8cb05537bb84f2cdde /net/udns
parent5a297531a7403b31cd65656d0a2d9d9630572a35 (diff)
downloadpkgsrc-ee477ba551a67e89c546c4a9f07b5880a2172851.tar.gz
trying to use -O2 on alpha does not work.. :( Drop back to -O1.
Diffstat (limited to 'net/udns')
-rw-r--r--net/udns/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/net/udns/Makefile b/net/udns/Makefile
index 5197a8bee72..14e22bc1aad 100644
--- a/net/udns/Makefile
+++ b/net/udns/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2012/10/23 17:19:15 asau Exp $
+# $NetBSD: Makefile,v 1.7 2013/01/26 21:25:12 schnoebe Exp $
DISTNAME= udns-0.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.corpit.ru/mjt/udns/
@@ -33,3 +33,11 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/rblcheck.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
+
+# gcc on NetBSD botch's if (!<ptr>) tests at -O2. (or higher)
+.if ${OPSYS} == "NetBSD"
+. if ${MACHINE_ARCH} == "alpha"
+BUILDLINK_TRANSFORM+= opt:-O[2-9]:-O1
+# BUILDLINK_TRANSFORM+= rm:-O[2-9]
+. endif
+.endif