Date: Fri, 17 Feb 2006 10:14:03 +0100 (CET) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/93467: [patch] textproc/antiword does not respect CFLAGS Message-ID: <200602170914.k1H9E3xV006204@freefall.freebsd.org> Resent-Message-ID: <200602170920.k1H9K4V8006302@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 93467 >Category: ports >Synopsis: [patch] textproc/antiword does not respect CFLAGS >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Feb 17 09:20:04 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 6.0-STABLE i386 >Organization: FreeBSD.org >Environment: System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith@freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386 >Description: textproc/antiword does not respect CFLAGS >How-To-Repeat: >Fix: --- antiword.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/textproc/antiword/Makefile,v retrieving revision 1.13 diff -u -r1.13 Makefile --- Makefile 6 Feb 2006 02:14:47 -0000 1.13 +++ Makefile 17 Feb 2006 09:10:58 -0000 @@ -7,23 +7,29 @@ PORTNAME= antiword PORTVERSION= 0.37 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.winfield.demon.nl/linux/ MAINTAINER= leeym@FreeBSD.org COMMENT= An application to display Microsoft(tm) Word files +USE_GMAKE= yes + INSTALL_TARGET= global_install MAN1= antiword.1 PORTDOCS= COPYING ChangeLog Emacs Exmh FAQ History Mozilla Mutt Netscape \ QandA ReadMe antiword.1 antiword.man antiword.php testdoc.doc +CFLAGS+= -DNDEBUG +MAKE_ENV+= CC="${CC}" + post-patch: @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} \ -e 's,/usr/local,${PREFIX},g' \ -e 's,/usr/share,${PREFIX}/share,g' - @${REINPLACE_CMD} -e 's,gcc,${CC},g' ${WRKSRC}/${MAKEFILE} + @${REINPLACE_CMD} -E 's|LD|CC|g; /^(CC|CFLAGS)/d' ${WRKSRC}/${MAKEFILE} post-install: @${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1 --- antiword.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602170914.k1H9E3xV006204>