Date: Mon, 07 Oct 2013 21:54:14 +0200 From: Kurt Jaeger <fbsd-ports@opsec.eu> To: FreeBSD-gnats-submit@freebsd.org Cc: jmohacsi@bsd.hu Subject: ports/182811: [patch update] net/findmtu add stage support, fix build on 10a4 Message-ID: <E1VTGsg-000O0G-3x@f10.opsec.eu> Resent-Message-ID: <201310072000.r97K00KJ080552@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182811 >Category: ports >Synopsis: [patch update] net/findmtu add stage support, fix build on 10a4 >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: Mon Oct 07 20:00:00 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@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: add stage support, fix build on 10a4 >How-To-Repeat: - >Fix: diff -r -u -N net/findmtu/Makefile /usr/home/pi/myp/net/findmtu/Makefile --- net/findmtu/Makefile 2013-10-07 21:48:04.000000000 +0200 +++ /usr/home/pi/myp/net/findmtu/Makefile 2013-10-07 21:48:26.000000000 +0200 @@ -11,18 +11,16 @@ SUB_FILES= findmtu -NO_STAGE= yes - do-configure: ${LN} -s ${WRKSRC}/Makefile.rawsocket ${WRKSRC}/Makefile do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${PREFIX}/bin/findmtu - ${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${PREFIX}/bin/findmtu.real + ${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${STAGEDIR}/${PREFIX}/bin/findmtu + ${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${STAGEDIR}/${PREFIX}/bin/findmtu.real .ifndef(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README.freebsd ${DOCSDIR} + ${MKDIR} ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.freebsd ${STAGEDIR}/${DOCSDIR} .endif .include <bsd.port.mk> diff -r -u -N net/findmtu/files/patch-Makefile.rawsocket /usr/home/pi/myp/net/findmtu/files/patch-Makefile.rawsocket --- net/findmtu/files/patch-Makefile.rawsocket 1970-01-01 01:00:00.000000000 +0100 +++ /usr/home/pi/myp/net/findmtu/files/patch-Makefile.rawsocket 2013-10-07 21:53:24.000000000 +0200 @@ -0,0 +1,22 @@ +--- Makefile.rawsocket.orig 2003-10-29 18:54:07.000000000 +0100 ++++ Makefile.rawsocket 2013-10-07 21:52:54.000000000 +0200 +@@ -1,14 +1,15 @@ +-all: findmtu + ++all: findmtu + + findmtu: findmtu.o findmtu-rawsocket.o Makefile +- gcc -g -Wall -o findmtu findmtu.o findmtu-rawsocket.o ++ ${CC} -g -Wall -o findmtu findmtu.o findmtu-rawsocket.o + + findmtu.o: findmtu.c findmtu.h Makefile +- gcc -DRAWSOCKET -Wall -c findmtu.c ++ ${CC} -DRAWSOCKET -Wall -c findmtu.c + + findmtu-rawsocket.o: findmtu-rawsocket.c findmtu.h Makefile +- gcc -DRAWSOCKET -Wall -c findmtu-rawsocket.c ++ ${CC} -DRAWSOCKET -Wall -c findmtu-rawsocket.c + + clean: + rm -f findmtu *.o ++ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1VTGsg-000O0G-3x>