aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-03-11 05:01:04 +0000
committerSteve Price <steve@FreeBSD.org>2001-03-11 05:01:04 +0000
commit0d5a0510ea42cb90289022a374b3bd9a01d411c3 (patch)
treea326bb0e8855087051ccc0f6dcae9cf4649144b4
parent81dbac7e07ad49e6b48b29763e26a1bc521257af (diff)
downloadports-0d5a0510ea42cb90289022a374b3bd9a01d411c3.tar.gz
ports-0d5a0510ea42cb90289022a374b3bd9a01d411c3.zip
Notes
-rw-r--r--audio/xsidplay/Makefile8
-rw-r--r--cad/qcad/Makefile8
-rw-r--r--cad/qcad2/Makefile8
-rw-r--r--devel/qtez/Makefile8
-rw-r--r--editors/fine/Makefile8
5 files changed, 35 insertions, 5 deletions
diff --git a/audio/xsidplay/Makefile b/audio/xsidplay/Makefile
index 781e26f78bd3..19e5f8123993 100644
--- a/audio/xsidplay/Makefile
+++ b/audio/xsidplay/Makefile
@@ -30,7 +30,13 @@ CONFIGURE_ARGS= --with-qt-includes=${X11BASE}/include/qt2 \
--with-x-includes=${X11BASE}/include \
--with-x-libraries=${X11BASE}/lib
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/xsidplay ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/cad/qcad/Makefile b/cad/qcad/Makefile
index 8f5e50f9ae83..7d2da0e654c9 100644
--- a/cad/qcad/Makefile
+++ b/cad/qcad/Makefile
@@ -17,6 +17,12 @@ USE_XLIB= yes
USE_QT2= yes
MAKE_ENV= QTDIR="${X11BASE}"
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
@@ -37,4 +43,4 @@ do-install:
@${LN} -sf ${PREFIX}/share/doc/qcad ${PREFIX}/share/qcad/doc
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/cad/qcad2/Makefile b/cad/qcad2/Makefile
index 8f5e50f9ae83..7d2da0e654c9 100644
--- a/cad/qcad2/Makefile
+++ b/cad/qcad2/Makefile
@@ -17,6 +17,12 @@ USE_XLIB= yes
USE_QT2= yes
MAKE_ENV= QTDIR="${X11BASE}"
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/*.cpp
@@ -37,4 +43,4 @@ do-install:
@${LN} -sf ${PREFIX}/share/doc/qcad ${PREFIX}/share/qcad/doc
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/qtez/Makefile b/devel/qtez/Makefile
index 5aca4e046fbd..690348437df4 100644
--- a/devel/qtez/Makefile
+++ b/devel/qtez/Makefile
@@ -25,6 +25,12 @@ CONFIGURE_ENV= QTDIR="${X11BASE}" MOC="${X11BASE}/bin/moc2" \
CONFIGURE_ARGS= --disable-shared
MAKE_ENV= QTEZ="${X11BASE}/share/qtez"
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
post-patch:
@find ${WRKSRC} -name "Makefile.am" | xargs ${PERL} -pi -e \
's|\@DEBUG\@|\@CXXFLAGS\@ \@DEBUG\@|g'
@@ -35,4 +41,4 @@ pre-configure:
post-install:
@${SED} -e "s:/usr/X11R6:${PREFIX}:g" ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/editors/fine/Makefile b/editors/fine/Makefile
index 091a060a4a75..1f59a6eee76f 100644
--- a/editors/fine/Makefile
+++ b/editors/fine/Makefile
@@ -19,6 +19,12 @@ USE_GMAKE= yes
USE_QT2= yes
WRKSRC= ${WRKDIR}/fine
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "alpha"
+CFLAGS+= -O0
+.endif
+
do-install:
@${MKDIR} ${PREFIX}/share/fine
${INSTALL_DATA} ${WRKSRC}/.editor ${PREFIX}/share/fine/editor
@@ -27,4 +33,4 @@ do-install:
.endfor
${INSTALL_PROGRAM} ${WRKSRC}/fine ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>