diff options
author | swills <swills@FreeBSD.org> | 2014-07-13 06:29:23 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-07-13 06:29:23 +0800 |
commit | 63d862547b583a267402a20fd1d26546da83cf54 (patch) | |
tree | 01b2907834f55238848e03101baada513ac803e8 /net | |
parent | 8ffe57efb999c026eb8639349397b4c07934cda4 (diff) | |
download | freebsd-ports-gnome-63d862547b583a267402a20fd1d26546da83cf54.tar.gz freebsd-ports-gnome-63d862547b583a267402a20fd1d26546da83cf54.tar.zst freebsd-ports-gnome-63d862547b583a267402a20fd1d26546da83cf54.zip |
net/samba36: fix shebang for bin/findsmb
Diffstat (limited to 'net')
-rw-r--r-- | net/samba36/Makefile | 4 | ||||
-rw-r--r-- | net/samba36/files/patch-source3__script__findsmb.in | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/net/samba36/Makefile b/net/samba36/Makefile index fdd4782faea3..28d56e83ef5f 100644 --- a/net/samba36/Makefile +++ b/net/samba36/Makefile @@ -2,7 +2,7 @@ PORTNAME= ${SAMBA_BASENAME}36 PORTVERSION= 3.6.24 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= net MASTER_SITES= ${MASTER_SITE_SAMBA} MASTER_SITE_SUBDIR= samba samba/stable samba/pre @@ -357,6 +357,8 @@ post-patch: ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/configure.in ${WRKSRC}/m4/aclocal.m4 + @${REINPLACE_CMD} -e '1s|%%PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/script/findsmb.in ### ### end of common part ### diff --git a/net/samba36/files/patch-source3__script__findsmb.in b/net/samba36/files/patch-source3__script__findsmb.in new file mode 100644 index 000000000000..2ef15a45bb90 --- /dev/null +++ b/net/samba36/files/patch-source3__script__findsmb.in @@ -0,0 +1,8 @@ +--- ./source3/script/findsmb.in.orig 2014-07-12 21:37:56.512194098 +0000 ++++ ./source3/script/findsmb.in 2014-07-12 21:38:19.976192656 +0000 +@@ -1,4 +1,4 @@ +-#!@PERL@ ++#!%%PREFIX%%/bin/perl + # + # Prints info on all smb responding machines on a subnet. + # This script needs to be run on a machine without nmbd running and be |