aboutsummaryrefslogtreecommitdiff
path: root/devel/moonshine
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-03-11 09:04:13 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-03-11 09:04:13 +0000
commit1fa168c6608d6f65d15268f8a75a9223cdfbc2e9 (patch)
tree5e3ca0f788029e62a727919c54fc5d26b7aed3bd /devel/moonshine
parentd7d66e83caf0155ebc0cc8aebb7ad840de9b5b63 (diff)
downloadports-1fa168c6608d6f65d15268f8a75a9223cdfbc2e9.tar.gz
ports-1fa168c6608d6f65d15268f8a75a9223cdfbc2e9.zip
Notes
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 d60d5a16fbad..76c5424effd8 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>