ports/65198: [PATCH] net/ncp: [Respect CC & CFLAGS]
michael johnson
ahze at ahze.net
Mon Apr 5 07:30:21 UTC 2004
>Number: 65198
>Category: ports
>Synopsis: [PATCH] net/ncp: [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: Mon Apr 05 00:30:20 PDT 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 (matthias at mteege.de) is cc'd.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- ncp-1.2.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/ncp/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile 24 Jul 2003 19:10:37 -0000 1.1
+++ Makefile 5 Apr 2004 07:24:17 -0000
@@ -17,6 +17,13 @@
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BZIP2= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|gcc -O2|${CC} ${CFLAGS}|' \
+ ${WRKSRC}/conf-cc
+ @${REINPLACE_CMD} -e 's|gcc|${CC} ${LDFLAGS}|' \
+ ${WRKSRC}/conf-ld
do-install:
cd ${WRKSRC}; ${INSTALL_PROGRAM} ncp ${PREFIX}/bin
--- ncp-1.2.3.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list