ports/161403: net/libtcp4u: Fix double colon on do-configure target
Conrad J. Sabatier
conrads at cox.net
Sat Oct 8 21:10:02 UTC 2011
>Number: 161403
>Category: ports
>Synopsis: net/libtcp4u: Fix double colon on do-configure target
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 08 21:10:01 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Conrad J. Sabatier
>Release: FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 9.9-CURRENT FreeBSD 10.0-CURRENT #0: Thu Oct 6 19:20:53 CDT 2011 conrads at serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
Double colon in do-configure target.
>How-To-Repeat:
cd /usr/ports; make -v index
Fails with the following error:
--- describe.net ---
"Makefile", line 57: warning: duplicate script for target "do-configure"
ignored
"/usr/share/mk/bsd.port.mk", line 27: Inconsistent operator for
do-configure
make: fatal errors encountered -- cannot continue
===> net/libtcp4u failed
*** Error code 1
1 error
>Fix:
Patch below.
--- libtcp4u.diff begins here ---
Index: ports/net/libtcp4u/Makefile
===================================================================
RCS file: /home/ncvs/ports/net/libtcp4u/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- ports/net/libtcp4u/Makefile 11 May 2006 22:49:14 -0000 1.2
+++ ports/net/libtcp4u/Makefile 8 Oct 2011 20:58:25 -0000
@@ -20,7 +20,7 @@
USE_ZIP= yes
-do-configure::
+do-configure:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/../Unix/Makefile
${CP} ${WRKSRC}/../Unix/Makefile ${WRKSRC}
--- libtcp4u.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list