diff options
author | arved <arved@FreeBSD.org> | 2003-05-07 14:19:44 +0000 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2003-05-07 14:19:44 +0000 |
commit | dc83993e315812ebc31abaccc64b8eb17b412861 (patch) | |
tree | ccb666a0e904f536b48d9ba6b32b273ab5af9066 | |
parent | b9528687a6a4584346df3839c8d2bedb06d3beb8 (diff) | |
download | FreeBSD-ports-dc83993e315812ebc31abaccc64b8eb17b412861.zip FreeBSD-ports-dc83993e315812ebc31abaccc64b8eb17b412861.tar.gz |
Fix path to smbclient
PR: 51817
Submitted by: Thierry Thomas <thierry@pompo.net>
Approved by: maintainer
-rw-r--r-- | net-im/kpopup/Makefile | 3 | ||||
-rw-r--r-- | net-im/kpopup/files/patch-kpopup_misc.h | 11 | ||||
-rw-r--r-- | net/kpopup/Makefile | 3 | ||||
-rw-r--r-- | net/kpopup/files/patch-kpopup_misc.h | 11 |
4 files changed, 26 insertions, 2 deletions
diff --git a/net-im/kpopup/Makefile b/net-im/kpopup/Makefile index 7638f9e..885447c 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 0000000..098f6db --- /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; \ diff --git a/net/kpopup/Makefile b/net/kpopup/Makefile index 7638f9e..885447c 100644 --- a/net/kpopup/Makefile +++ b/net/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/kpopup/files/patch-kpopup_misc.h b/net/kpopup/files/patch-kpopup_misc.h new file mode 100644 index 0000000..098f6db --- /dev/null +++ b/net/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; \ |