diff options
author | tijl <tijl@FreeBSD.org> | 2014-07-03 04:33:20 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2014-07-03 04:33:20 +0800 |
commit | 2c50298fb877e557afa80e972a73cae22f4ef349 (patch) | |
tree | 402c2eb4fd16645611b78c6867c1f1ab9fbc7bfe /textproc | |
parent | 46ec768247800f145974f45a1f460fec97e76b0c (diff) | |
download | freebsd-ports-gnome-2c50298fb877e557afa80e972a73cae22f4ef349.tar.gz freebsd-ports-gnome-2c50298fb877e557afa80e972a73cae22f4ef349.tar.zst freebsd-ports-gnome-2c50298fb877e557afa80e972a73cae22f4ef349.zip |
- Add USES=libtool
- Remove hack for gcc 3.x
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/openjade/Makefile | 16 | ||||
-rw-r--r-- | textproc/openjade/files/patch-ae | 8 | ||||
-rw-r--r-- | textproc/openjade/pkg-plist | 6 |
3 files changed, 6 insertions, 24 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile index 2f7eccbd202d..eaf6c21f261c 100644 --- a/textproc/openjade/Makefile +++ b/textproc/openjade/Makefile @@ -3,7 +3,7 @@ PORTNAME= openjade PORTVERSION= 1.3.3p1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.3.3 DISTNAME= ${PORTNAME}-${PORTVERSION:S/p/-pre/} @@ -14,8 +14,8 @@ COMMENT= Object-oriented SGML/XML parser toolkit and DSSSL engine LIB_DEPENDS= libosp.so:${PORTSDIR}/textproc/opensp RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr +USES= gettext gmake libtool perl5 USE_LDCONFIG= yes -USES= gettext gmake perl5 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \ --datadir=${DATADIR} @@ -29,7 +29,6 @@ XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr DATADIR= ${PREFIX}/share/sgml/openjade post-patch: - @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|<iostream.h>|<iostream>|' ${WRKSRC}/style/MultiLineInlineNote.cxx post-install: @@ -41,13 +40,4 @@ post-install: "${WRKSRC}", $$3, "${STAGEDIR}${PREFIX}", $$4}' | \ ${SH} -.include <bsd.port.pre.mk> - -# This port cannot be CFLAGS safe, using optimizations such as -# '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. -CPPFLAGS:= -O ${CFLAGS:N-O*:N-m*} -LDFLAGS+= -L${LOCALBASE}/lib - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/textproc/openjade/files/patch-ae b/textproc/openjade/files/patch-ae index 277deec5c0b9..7dc24af56cda 100644 --- a/textproc/openjade/files/patch-ae +++ b/textproc/openjade/files/patch-ae @@ -21,11 +21,3 @@ $FreeBSD$ echo "$as_me:$LINENO: checking for gettext" >&5 echo $ECHO_N "checking for gettext... $ECHO_C" >&6 if test "${ac_cv_func_gettext+set}" = set; then -@@ -9792,6 +9796,7 @@ - - # This can be used to rebuild libtool when needed - LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" -+$ac_aux_dir/ltconfig $LIBTOOL_DEPS - - # Always use our own libtool. - LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff --git a/textproc/openjade/pkg-plist b/textproc/openjade/pkg-plist index 86760d86f195..d5df27f12e07 100644 --- a/textproc/openjade/pkg-plist +++ b/textproc/openjade/pkg-plist @@ -1,16 +1,16 @@ bin/openjade lib/libogrove.a -lib/libogrove.la lib/libogrove.so lib/libogrove.so.0 +lib/libogrove.so.0.0.1 lib/libospgrove.a -lib/libospgrove.la lib/libospgrove.so lib/libospgrove.so.0 +lib/libospgrove.so.0.0.1 lib/libostyle.a -lib/libostyle.la lib/libostyle.so lib/libostyle.so.0 +lib/libostyle.so.0.0.1 @unexec %%XMLCATMGR%% -sc %%CATALOG_PORTS_SGML%% remove CATALOG openjade/catalog @comment INSTALL_DATA: dsssl/README.jadetex %%DATADIR%%/README.jadetex @comment INSTALL_DATA: dsssl/builtins.dsl %%DATADIR%%/builtins.dsl |