- Fix build on 5.x

- Pet portlint

PR:		58543 58064
Submitted by:	Fritz Heinrichmeyer, Larry Rosenman
This commit is contained in:
Kirill Ponomarev 2003-10-26 11:08:44 +00:00
parent a2146a6b83
commit 9fd758a646
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92196
2 changed files with 8 additions and 4 deletions

View file

@ -28,6 +28,7 @@ RUN_DEPENDS= gs:${PORTSDIR}/${GSPORT}
USE_GNOME= gnometarget pkgconfig
USE_LIBTOOL= yes
USE_REINPLACE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
INSTALLS_SHLIB= yes
@ -45,6 +46,9 @@ pre-everything::
@${ECHO_MSG} ""
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/pstoedit.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)

View file

@ -29,9 +29,9 @@ lib/pstoedit/libp2edrvswf.so
lib/pstoedit/libp2edrvswf.so.0
libdata/pkgconfig/pstoedit.pc
share/aclocal/pstoedit.m4
%%PORTDOCS%%share/doc/pstoedit/changelog.htm
%%PORTDOCS%%share/doc/pstoedit/index.htm
%%PORTDOCS%%share/doc/pstoedit/pstoedit.htm
%%PORTDOCS%%%%DOCSDIR%%/changelog.htm
%%PORTDOCS%%%%DOCSDIR%%/index.htm
%%PORTDOCS%%%%DOCSDIR%%/pstoedit.htm
share/pstoedit/latex2e.fmp
share/pstoedit/mpost.fmp
share/pstoedit/safer.ps
@ -40,6 +40,6 @@ share/pstoedit/swffonts/default.fdb
share/pstoedit/wemf.fmp
@dirrm share/pstoedit/swffonts
@dirrm share/pstoedit
%%PORTDOCS%%@dirrm share/doc/pstoedit
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/pstoedit
@dirrm include/pstoedit