diff options
author | arved <arved@FreeBSD.org> | 2003-05-07 22:19:44 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-05-07 22:19:44 +0800 |
commit | dc83993e315812ebc31abaccc64b8eb17b412861 (patch) | |
tree | ccb666a0e904f536b48d9ba6b32b273ab5af9066 /net-im | |
parent | b9528687a6a4584346df3839c8d2bedb06d3beb8 (diff) | |
download | freebsd-ports-gnome-dc83993e315812ebc31abaccc64b8eb17b412861.tar.gz freebsd-ports-gnome-dc83993e315812ebc31abaccc64b8eb17b412861.tar.zst freebsd-ports-gnome-dc83993e315812ebc31abaccc64b8eb17b412861.zip |
Fix path to smbclient
PR: 51817
Submitted by: Thierry Thomas <thierry@pompo.net>
Approved by: maintainer
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/kpopup/Makefile | 3 | ||||
-rw-r--r-- | net-im/kpopup/files/patch-kpopup_misc.h | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/net-im/kpopup/Makefile b/net-im/kpopup/Makefile index 7638f9e8b8ca..885447c012ec 100644 --- a/net-im/kpopup/Makefile +++ b/net-im/kpopup/Makefile @@ -21,8 +21,9 @@ CONFIGURE_TARGET= USE_REINPLACE= yes post-patch: - ${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/kpopup/misc.cpp \ + @${REINPLACE_CMD} -e 's,malloc.h,stdlib.h,' ${WRKSRC}/kpopup/misc.cpp \ ${WRKSRC}/kpopup/make_popup.cpp ${WRKSRC}/kpopup/main.cpp + @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/kpopup/misc.h post-install: @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' diff --git a/net-im/kpopup/files/patch-kpopup_misc.h b/net-im/kpopup/files/patch-kpopup_misc.h new file mode 100644 index 000000000000..098f6db0184e --- /dev/null +++ b/net-im/kpopup/files/patch-kpopup_misc.h @@ -0,0 +1,11 @@ +--- ./kpopup/misc.h.orig Sun Aug 26 17:44:03 2001 ++++ ./kpopup/misc.h Mon May 5 09:47:04 2003 +@@ -20,7 +20,7 @@ + #include "kpopup.h" + + #undef DEBUG +-#define SMBPATH "/usr/bin" //Path of smbclient ++#define SMBPATH "%%LOCALBASE%%/bin" //Path of smbclient + #define TMPPOPUPFILE "/tmp/kpopup-message" + #define SETSIG(sig, fun, fla) sa.sa_handler = fun; \ + sa.sa_flags = fla; \ |