diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-05-07 14:19:44 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-05-07 14:19:44 +0000 |
commit | b4a43d2cf3a6c9b4ddce1cb00d812e7c2a7f6b54 (patch) | |
tree | bbb2131182890ce7f8925b38757fa938ee6ce3e2 /net-im | |
parent | 8e2ff6ca6077d44e6a25d19f753061dcb68e31e6 (diff) |
Fix path to smbclient
PR: 51817
Submitted by: Thierry Thomas <thierry@pompo.net>
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=80368
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; \ |