aboutsummaryrefslogtreecommitdiff
path: root/net/mgen
diff options
context:
space:
mode:
authorSimon Barner <barner@FreeBSD.org>2005-05-31 14:01:12 +0000
committerSimon Barner <barner@FreeBSD.org>2005-05-31 14:01:12 +0000
commit30bc94a9a5ee1a0109278fe5a4244cddb9ab69cf (patch)
treebcec2aa2017aa45c5836ac19fbd4fb7cb1d3ce2c /net/mgen
parentcc624542ff0895e9b600f9a90a6270bbfa74a46f (diff)
downloadports-30bc94a9a5ee1a0109278fe5a4244cddb9ab69cf.tar.gz
ports-30bc94a9a5ee1a0109278fe5a4244cddb9ab69cf.zip
Notes
Diffstat (limited to 'net/mgen')
-rw-r--r--net/mgen/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/mgen/Makefile b/net/mgen/Makefile
index 725557d8b0dd..376e92b479a0 100644
--- a/net/mgen/Makefile
+++ b/net/mgen/Makefile
@@ -9,14 +9,12 @@ PORTNAME= mgen
PORTVERSION= 4.2b5
CATEGORIES= net
MASTER_SITES= http://downloads.pf.itd.nrl.navy.mil/mgen/
+DISTNAME= src-${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX= .tgz
-DISTFILES= src-${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= janos.mohacsi@bsd.hu
COMMENT= An IP network performance tests and measurements
-IGNORE= does not respect PTHREAD_LIBS
-
USE_GMAKE= yes
USE_REINPLACE= yes
@@ -27,6 +25,9 @@ post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/unix/Makefile.common \
${WRKSRC}/protolib/unix/Makefile.common
+ @${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g' ${WRKSRC}/unix/Makefile.freebsd \
+ ${WRKSRC}/protolib/unix/Makefile.freebsd
+
do-build:
cd ${WRKSRC}/unix && ${GMAKE} -f Makefile.freebsd ${PORTNAME}