aboutsummaryrefslogtreecommitdiff
path: root/net/ntraceroute
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2006-10-04 21:52:49 +0000
committerBruce M Simpson <bms@FreeBSD.org>2006-10-04 21:52:49 +0000
commit389beea2394089c0e55e17906de21e2f55865b63 (patch)
tree42c5d74ae0988593b2c33b40b127fa8ca95ae519 /net/ntraceroute
parent8cea503c483597621dd033e79430520a51bd4c12 (diff)
downloadports-389beea2394089c0e55e17906de21e2f55865b63.tar.gz
ports-389beea2394089c0e55e17906de21e2f55865b63.zip
Notes
Diffstat (limited to 'net/ntraceroute')
-rw-r--r--net/ntraceroute/Makefile10
-rw-r--r--net/ntraceroute/files/patch-traceroute_640.c11
2 files changed, 16 insertions, 5 deletions
diff --git a/net/ntraceroute/Makefile b/net/ntraceroute/Makefile
index 4b036709aa56..630fad491d8c 100644
--- a/net/ntraceroute/Makefile
+++ b/net/ntraceroute/Makefile
@@ -19,15 +19,15 @@ COMMENT= Ubiquitous network routing analysis tool
WRKSRC= ${WRKDIR}
-NOMAN= defined
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= .
-do-extract:
- @${RM} -rf ${WRKDIR}
- @${MKDIR} ${WRKDIR}
+NOMAN= defined
do-build:
${CC} -o ${WRKSRC}/${PORTNAME} -lm \
- ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES}
+ ${WRKSRC}/${DISTFILES}
do-install:
${INSTALL} ${COPY} ${STRIP} -o root -g wheel -m 04555 \
diff --git a/net/ntraceroute/files/patch-traceroute_640.c b/net/ntraceroute/files/patch-traceroute_640.c
new file mode 100644
index 000000000000..01e1b7e35d9f
--- /dev/null
+++ b/net/ntraceroute/files/patch-traceroute_640.c
@@ -0,0 +1,11 @@
+--- /usr/ports/distfiles/ntraceroute/traceroute_640.c Sun Nov 6 15:43:00 2005
++++ ./traceroute_640.c Wed Oct 4 11:07:20 2006
+@@ -790,7 +790,7 @@
+ struct icmp icmp_probe;
+ } ip_payload;
+ #endif /* V6.3.0 */
+-};
++} __attribute__((packed));
+
+ #ifdef SPRAY
+ /*