summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-01-20 23:15:59 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-01-20 23:15:59 +0000
commit1f0ffd7a6437331aae83739f64bc0c69939f2b4e (patch)
tree5f5f403ac4677a48f0f9ce15751d3fbea7c10fde /textproc
parento Update to 0.9.6 (diff)
Remove bogus pre-install target.
Refine CXXFLAGS tweak. Submitted by: naddy
Notes
Notes: svn path=/head/; revision=53417
Diffstat (limited to 'textproc')
-rw-r--r--textproc/openjade/Makefile7
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>