aboutsummaryrefslogtreecommitdiff
path: root/textproc/openjade
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/openjade
parent595d305be5676b0d9045b838aa52c54648b551d2 (diff)
downloadports-1f0ffd7a6437331aae83739f64bc0c69939f2b4e.tar.gz
ports-1f0ffd7a6437331aae83739f64bc0c69939f2b4e.zip
Notes
Diffstat (limited to 'textproc/openjade')
-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>