ports/65031: [PATCH] textproc/antiword: [Respect CC & CFLAGS]

michael johnson ahze at ahze.net
Thu Apr 1 10:20:16 UTC 2004


>Number:         65031
>Category:       ports
>Synopsis:       [PATCH] textproc/antiword: [Respect CC & CFLAGS]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 01 02:20:16 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gentoo.ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #37: Sat Mar 27 18:30:44 EST 2004
>Description:
- Respect CC & CFLAGS

Port maintainer (leeym at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- antiword-0.35.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/antiword/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- Makefile	14 Dec 2003 21:27:22 -0000	1.9
+++ Makefile	1 Apr 2004 10:17:33 -0000
@@ -22,6 +22,9 @@
 	@${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' \
 		-e 's,/usr/share,${PREFIX}/share,g' \
 		${WRKSRC}/Makefile.* ${WRKSRC}/*.[ch]
+	@${REINPLACE_CMD} -e 's,gcc,${CC},g' \
+		-e 's,-O2,${CFLAGS},g' \
+		${WRKSRC}/${MAKEFILE} ${WRKSRC}/Makefile.*
 
 post-install:
 	@${INSTALL_MAN} ${WRKSRC}/Docs/antiword.1 ${MANPREFIX}/man/man1
--- antiword-0.35.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list