1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add USES=libtool

- Remove hack for gcc 3.x
This commit is contained in:
Tijl Coosemans 2014-07-02 20:53:01 +00:00
parent 0e0bf43ec8
commit d8c4aa9578
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360262
2 changed files with 3 additions and 11 deletions

View File

@ -10,10 +10,8 @@ MASTER_SITES= SF/openjade/${PORTNAME:tl}/${PORTVERSION}
MAINTAINER= kuriyama@FreeBSD.org MAINTAINER= kuriyama@FreeBSD.org
COMMENT= This package is a collection of SGML/XML tools called OpenSP COMMENT= This package is a collection of SGML/XML tools called OpenSP
OPTIONS_DEFINE= DOCS NLS USES= gmake iconv libtool perl5
USE_LDCONFIG= yes USE_LDCONFIG= yes
USES= gmake iconv perl5
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \ CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
--datadir=${PREFIX}/share/sgml/openjade \ --datadir=${PREFIX}/share/sgml/openjade \
@ -21,19 +19,13 @@ CONFIGURE_ARGS= --enable-default-catalog=${PREFIX}/share/sgml/catalog \
LDFLAGS+= -L${LOCALBASE}/lib LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext NLS_USES= gettext
PORTDOCS= *.htm NEWS AUTHORS README ABOUT-NLS BUGS ChangeLog PORTDOCS= *.htm NEWS AUTHORS README ABOUT-NLS BUGS ChangeLog
# 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*}
post-install: post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${DOCSDIR}

View File

@ -143,9 +143,9 @@ include/OpenSP/types.h
include/OpenSP/xnew.h include/OpenSP/xnew.h
@dirrm include/OpenSP @dirrm include/OpenSP
lib/libosp.a lib/libosp.a
lib/libosp.la
lib/libosp.so lib/libosp.so
lib/libosp.so.5 lib/libosp.so.5
lib/libosp.so.5.0.0
%%NLS%%share/locale/de/LC_MESSAGES/sp5.mo %%NLS%%share/locale/de/LC_MESSAGES/sp5.mo
%%NLS%%share/locale/fr/LC_MESSAGES/sp5.mo %%NLS%%share/locale/fr/LC_MESSAGES/sp5.mo
%%NLS%%share/locale/ja/LC_MESSAGES/sp5.mo %%NLS%%share/locale/ja/LC_MESSAGES/sp5.mo