diff options
author | miwi <miwi@FreeBSD.org> | 2010-02-14 03:14:33 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2010-02-14 03:14:33 +0800 |
commit | 2e6646e59190a536a4eb61fd05cfbf71f549fd95 (patch) | |
tree | 6754036406e59f14445fddddb7fd146f854d8ad4 /net | |
parent | aa5e589ff327172ad194fc2d91abdeeea7c6b3f7 (diff) | |
download | freebsd-ports-gnome-2e6646e59190a536a4eb61fd05cfbf71f549fd95.tar.gz freebsd-ports-gnome-2e6646e59190a536a4eb61fd05cfbf71f549fd95.tar.zst freebsd-ports-gnome-2e6646e59190a536a4eb61fd05cfbf71f549fd95.zip |
- Use $SUB_FILES to dynamically update findmtu script
PR: 143105
Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Approved by: maintainer
Diffstat (limited to 'net')
-rw-r--r-- | net/findmtu/Makefile | 5 | ||||
-rw-r--r-- | net/findmtu/files/findmtu.in (renamed from net/findmtu/files/findmtu.sh) | 0 |
2 files changed, 2 insertions, 3 deletions
diff --git a/net/findmtu/Makefile b/net/findmtu/Makefile index a2a6740ecd90..4bc910f8e1b8 100644 --- a/net/findmtu/Makefile +++ b/net/findmtu/Makefile @@ -13,12 +13,11 @@ MASTER_SITES= http://www.dia.uniroma3.it/~compunet/tunneldiscovery/findmtu/ MAINTAINER= janos.mohacsi@bsd.hu COMMENT= A tool for performing IPv6 path MTU discovery on *NIX +SUB_FILES= findmtu + do-configure: ${LN} -s ${WRKSRC}/Makefile.rawsocket ${WRKSRC}/Makefile -post-build: - ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${FILESDIR}/findmtu.sh > ${WRKDIR}/findmtu - do-install: ${INSTALL_SCRIPT} ${WRKDIR}/findmtu ${PREFIX}/bin/findmtu ${INSTALL_PROGRAM} ${WRKSRC}/findmtu ${PREFIX}/bin/findmtu.real diff --git a/net/findmtu/files/findmtu.sh b/net/findmtu/files/findmtu.in index a404f4f96eab..a404f4f96eab 100644 --- a/net/findmtu/files/findmtu.sh +++ b/net/findmtu/files/findmtu.in |