summaryrefslogtreecommitdiffstats
path: root/devel/moonshine
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-03-11 09:04:13 +0000
committersobomax <sobomax@FreeBSD.org>2001-03-11 09:04:13 +0000
commitffe5f5c25d5df82890e9d7035274b7600736e2d8 (patch)
treec249cc0eb492bad1494818590828863a3ea77790 /devel/moonshine
parent0bbdb8ea0d943ea8df10ff1204d425cfe5225b0f (diff)
downloadFreeBSD-ports-ffe5f5c25d5df82890e9d7035274b7600736e2d8.zip
FreeBSD-ports-ffe5f5c25d5df82890e9d7035274b7600736e2d8.tar.gz
Workaround a c++ bug on alpha.
Submitted by: steve
Diffstat (limited to 'devel/moonshine')
-rw-r--r--devel/moonshine/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/devel/moonshine/Makefile b/devel/moonshine/Makefile
index d60d5a1..76c5424 100644
--- a/devel/moonshine/Makefile
+++ b/devel/moonshine/Makefile
@@ -21,11 +21,17 @@ CPPFLAGS+= -I${X11BASE}/include
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
pre-configure:
- @ find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$$\{prefix\}/moonshine|\$$\{prefix\}/share/moonshine| ; \
- s|\@INSTBIN\@|${PREFIX}/bin| ; s|moc -o|\$$\(MOC\) -o|'
- @ ${PERL} -pi -e 's|/usr/share/moonshine|${PREFIX}/share/moonshine|' \
- ${WRKSRC}/include/tags.h
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\{prefix\}/moonshine|\$$\{prefix\}/share/moonshine| ; \
+ s|\@INSTBIN\@|${PREFIX}/bin| ; s|moc -o|\$$\(MOC\) -o|'
+ @${PERL} -pi -e 's|/usr/share/moonshine|${PREFIX}/share/moonshine|' \
+ ${WRKSRC}/include/tags.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud