Date: Wed, 4 Jul 2007 18:52:41 GMT From: Roman Bogorodskiy <novel@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/114302: [ patch ] x11-fm/xnc: unbreak Message-ID: <200707041852.l64IqfhU087116@freefall.freebsd.org> Resent-Message-ID: <200707041900.l64J09NR087437@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 114302 >Category: ports >Synopsis: [ patch ] x11-fm/xnc: unbreak >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 04 19:00:09 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Roman Bogorodskiy >Release: FreeBSD 6.0-STABLE i386 >Organization: >Environment: >Description: Fix build for x11-fm/xnc. It was some weird bug with libintl detecting and I wasn't able to find a clean fix for it, but this one seems to work even not being very clean. >How-To-Repeat: >Fix: --- xnc.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/x11-fm/xnc/Makefile,v retrieving revision 1.33 diff -u -r1.33 Makefile --- Makefile 25 May 2007 01:01:20 -0000 1.33 +++ Makefile 4 Jul 2007 18:46:18 -0000 @@ -26,8 +26,6 @@ png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff -BROKEN= Does not build - WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GETTEXT= yes USE_XLIB= yes @@ -38,6 +36,13 @@ MAN1= ives.1 xjpegroot.1 xnc.1 xnlaunch.1 iedit.1 iview.1 +post-configure: + ${REINPLACE_CMD} -e 's|-I$$(MYSRCDIR)/intl||;s|$${top_builddir}/intl/libintl.a|-lintl|' \ + ${WRKSRC}/src/ives/makefile \ + ${WRKSRC}/src/launch/makefile \ + ${WRKSRC}/src/xsetup/makefile \ + ${WRKSRC}/src/makefile + post-install: @${CAT} ${PKGMESSAGE} --- xnc.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?200707041852.l64IqfhU087116>