From 91781d1dbe685397b8797728a9b848e3970b86b0 Mon Sep 17 00:00:00 2001 From: kuriyama Date: Sun, 20 Jan 2002 23:15:59 +0000 Subject: Remove bogus pre-install target. Refine CXXFLAGS tweak. Submitted by: naddy --- textproc/openjade/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'textproc') 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 -- cgit