diff options
author | miwi <miwi@FreeBSD.org> | 2007-12-11 06:30:52 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-12-11 06:30:52 +0800 |
commit | 8904cc921b9ef9be79fc77268c450e202e407b28 (patch) | |
tree | 0e195488b97787048d5db7af3b5665d66adaef65 /databases/gbib | |
parent | c9937b82961635ac3193e832f6d99ac07fd428a5 (diff) | |
download | freebsd-ports-graphics-8904cc921b9ef9be79fc77268c450e202e407b28.tar.gz freebsd-ports-graphics-8904cc921b9ef9be79fc77268c450e202e407b28.tar.zst freebsd-ports-graphics-8904cc921b9ef9be79fc77268c450e202e407b28.zip |
- Fix build with gcc 4.2
- Pass maintainership to submitter
PR: 118466
Submitted by: Pietro Cerutti <gahr@gahr.ch>
Approved by: portmgr (erwin)
Diffstat (limited to 'databases/gbib')
-rw-r--r-- | databases/gbib/Makefile | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/databases/gbib/Makefile b/databases/gbib/Makefile index feb965a60cf..004b6955871 100644 --- a/databases/gbib/Makefile +++ b/databases/gbib/Makefile @@ -17,13 +17,13 @@ PATCH_SITE_SUBDIR= pool/main/g/gbib PATCHFILES= ${PORTNAME}_${PORTVERSION}-3.diff.gz PATCH_DIST_STRIP= -p1 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= gahr@gahr.ch COMMENT= Editor/browser for BibTeX bibliographic databases USE_X_PREFIX= yes USE_GNOME= gnomelibs USE_GMAKE= yes -USE_AUTOTOOLS= autoconf:213 +USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib -lintl" MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ @@ -31,12 +31,6 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ CFLAGS+= -fpermissive -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: @${REINPLACE_CMD} -e 's|map.h,|map,|g ; \ s|vector.h,|vector,|g' ${WRKSRC}/configure.in @@ -47,9 +41,11 @@ post-patch: s|^exec_prefix =.*$$|exec_prefix = @exec_prefix@|g ; \ s|^datadir =.*$$|datadir = @datadir@|g ; \ s|^localedir =.*$$|localedir = $$(prefix)/share/locale|g ; \ - s|^gnulocaledir =.*$$|gnulocaledir = $$(prefix)/share/locale|g' + s|^gnulocaledir =.*$$|gnulocaledir = $$(prefix)/share/locale|g; \ + s|-fwritable-strings||g' + @${FIND} ${WRKSRC} -name "*.orig" -delete post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.post.mk> +.include <bsd.port.mk> |