Date: Thu, 6 Dec 2007 20:04:58 +0100 From: "Pietro Cerutti" <gahr@gahr.ch> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/118468: [patch] databases/gbib unbreak fix build with GCC 4.2 + adopt maintainship Message-ID: <1196967898.96492@gahrtop.localhost> Resent-Message-ID: <200712061910.lB6JA1QS044809@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118468 >Category: ports >Synopsis: [patch] databases/gbib unbreak fix build with GCC 4.2 + adopt maintainship >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 06 19:10:01 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Pietro Cerutti >Release: FreeBSD 8.0-CURRENT i386 >Organization: >Environment: System: FreeBSD 8.0-CURRENT #15: Thu Dec 6 12:47:48 CET 2007 root@gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034 >Description: The patch below: - removes a compiler flag which is no longer present in GCC 4.2 - sets maintainship to me >How-To-Repeat: cd /usr/ports/databases/gbib && make >Fix: --- _gbib.diff begins here --- --- Makefile.orig 2007-12-06 19:49:05.000000000 +0100 +++ Makefile 2007-12-06 20:03:30.000000000 +0100 @@ -17,13 +17,13 @@ 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 @@ 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 @@ 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> --- _gbib.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1196967898.96492>