diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2002-01-21 07:15:59 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2002-01-21 07:15:59 +0800 |
commit | 91781d1dbe685397b8797728a9b848e3970b86b0 (patch) | |
tree | 4fb894623cc7e1d5c23553748cdb86199ee974ab | |
parent | ce1394ebe8ed116e8f41b39aad4de1ec95935d73 (diff) | |
download | freebsd-ports-gnome-91781d1dbe685397b8797728a9b848e3970b86b0.tar.gz freebsd-ports-gnome-91781d1dbe685397b8797728a9b848e3970b86b0.tar.zst freebsd-ports-gnome-91781d1dbe685397b8797728a9b848e3970b86b0.zip |
Remove bogus pre-install target.
Refine CXXFLAGS tweak.
Submitted by: naddy
-rw-r--r-- | textproc/openjade/Makefile | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile index 1fe2860c84e4..12cc8c860536 100644 --- a/textproc/openjade/Makefile +++ b/textproc/openjade/Makefile @@ -18,7 +18,6 @@ RUN_DEPENDS= ${MKCATALOG}:${PORTSDIR}/textproc/mkcatalog USE_GMAKE= YES USE_LIBTOOL= YES -CONFIGURE_ENV= CXXFLAGS="${CFLAGS}" CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \ --datadir=${PREFIX}/share/sgml/openjade INSTALLS_SHLIB= yes @@ -26,9 +25,6 @@ PLIST_SUB= MKCATALOG=${MKCATALOG} MKCATALOG= ${PREFIX}/sbin/mkcatalog -pre-install: - @find ${WRKSRC} \( -name \*.orig -o -name \*~ \) -exec ${RM} -f \{} \; - post-install: @${MKDIR} ${PREFIX}/share/sgml/openjade @${INSTALL_DATA} ${WRKSRC}/dsssl/* ${PREFIX}/share/sgml/openjade @@ -40,7 +36,6 @@ post-install: # 'march=-mpentium -Os' produces core dumps with certain input files # Therefore, we'd better remove all machine optimizations and any -O # other than -O{0,1,}. Idea taken from palm/prc-tools-gcc. -CFLAGS!= ${ECHO} "${CFLAGS}" | ${SED} -E -e 's/-m[0-9a-zA-Z]+(=[0-9a-zA-Z]*)?//g' \ - -e 's/-O[s2-9]+//g' +CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*} .include <bsd.port.post.mk> |