diff options
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; \ |