Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 2004 05:18:49 -0500 (EST)
From:      michael johnson <ahze@ahze.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        leeym@FreeBSD.org
Subject:   ports/65031: [PATCH] textproc/antiword: [Respect CC & CFLAGS]
Message-ID:  <200404011018.i31AInRo011811@gentoo.ahze.net>
Resent-Message-ID: <200404011020.i31AKGtr031039@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404011018.i31AInRo011811>