ports/182752: [patch update] net/ndisc6 compile fix for 10-ALPHA4, add stage support
Kurt Jaeger
fbsd-ports at opsec.eu
Sun Oct 6 16:20:03 UTC 2013
>Number: 182752
>Category: ports
>Synopsis: [patch update] net/ndisc6 compile fix for 10-ALPHA4, add stage support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Oct 06 16:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Kurt Jaeger
>Release: FreeBSD 10.0-ALPHA4 amd64
>Organization:
-
>Environment:
System: FreeBSD f10.opsec.eu 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 r255933: Sun Sep 29 02:50:54 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
On fbsd 10 alpha 4, ndisc6 fails to compile
>How-To-Repeat:
-
>Fix:
diff -r -u -N net/ndisc6/Makefile /usr/home/pi/myp/net/ndisc6/Makefile
--- net/ndisc6/Makefile 2013-10-01 21:13:24.000000000 +0200
+++ /usr/home/pi/myp/net/ndisc6/Makefile 2013-10-06 18:08:42.000000000 +0200
@@ -16,6 +16,8 @@
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-suid-install
+USE_GCC= any
+LDFLAGS+= -lintl
NO_STAGE= yes
.include <bsd.port.options.mk>
@@ -24,11 +26,7 @@
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-rdnssd-rdnssd.h
.endif
-.if ${PORT_OPTIONS:MNLS}
USES+= gettext
-.else
-CONFIGURE_ARGS+=--disable-nls
-.endif
MAN1= addr2name.1 dnssort.1 tcpspray.1
MAN8= ndisc6.8 rdisc6.8 rdnssd.8 rltraceroute6.8
@@ -43,9 +41,9 @@
post-install:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}/${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_MAN} ${WRKSRC}/${file} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/${file} ${STAGEDIR}/${DOCSDIR}
.endfor
.endif
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list