diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-07-12 22:29:23 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-07-12 22:29:23 +0000 |
commit | 98fb924304b0068e9164bb31f6af7849cb7e3697 (patch) | |
tree | 01b2907834f55238848e03101baada513ac803e8 /net/samba36 | |
parent | 1db27d4c8520dfc61a079749ec015317c34e5bbd (diff) | |
download | ports-98fb924304b0068e9164bb31f6af7849cb7e3697.tar.gz ports-98fb924304b0068e9164bb31f6af7849cb7e3697.zip |
Notes
Diffstat (limited to 'net/samba36')
-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 |