aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-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
+ /*