diff options
author | barner <barner@FreeBSD.org> | 2005-05-31 14:01:12 +0000 |
---|---|---|
committer | barner <barner@FreeBSD.org> | 2005-05-31 14:01:12 +0000 |
commit | b7f7728b8e4852d326eca51c1a235570e5d546a9 (patch) | |
tree | 789ef15a503ce64b7dc22c4b6187e9cf785d2159 /net/mgen/Makefile | |
parent | d8507a1c3a38022a586e9b1ae68e11a97b76ac74 (diff) | |
download | FreeBSD-ports-b7f7728b8e4852d326eca51c1a235570e5d546a9.zip FreeBSD-ports-b7f7728b8e4852d326eca51c1a235570e5d546a9.tar.gz |
- unmark IGNORE (fix PTHREAD_{CFLAGS, LIBS}) [1 (partly)]
- pet portlint:
* tab-instead-of-blank fixes
* use DISTNAME instead of single entry for DISTFILES
PR: ports/81710 [1]
Submitted by: Janos Mohacsi <janos.mohacsi@niif.hu> (maintainer) [1]
Diffstat (limited to 'net/mgen/Makefile')
-rw-r--r-- | net/mgen/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/mgen/Makefile b/net/mgen/Makefile index 725557d..376e92b 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} |