ports/93467: [patch] textproc/antiword does not respect CFLAGS

Emanuel Haupt ehaupt at FreeBSD.org
Fri Feb 17 09:20:05 UTC 2006

>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
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 17 09:20:04 GMT 2006
>Originator:     Emanuel Haupt
>Release:        FreeBSD 6.0-STABLE i386
System: FreeBSD freefall.freebsd.org 6.0-STABLE FreeBSD 6.0-STABLE #0: Sat Dec 10 03:18:20 UTC 2005 kensmith at freefall.freebsd.org:/usr/obj/usr/src/sys/FREEFALL i386

textproc/antiword does not respect CFLAGS



--- 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
 CATEGORIES=	textproc
 MASTER_SITES=	http://www.winfield.demon.nl/linux/
 MAINTAINER=	leeym at FreeBSD.org
 COMMENT=	An application to display Microsoft(tm) Word files
 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
+MAKE_ENV+=	CC="${CC}"
 	@${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}
 	@${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1
--- antiword.patch ends here ---


More information about the freebsd-ports-bugs mailing list