aboutsummaryrefslogtreecommitdiff
path: root/net-im/kpopup
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2003-05-07 14:19:44 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2003-05-07 14:19:44 +0000
commitb4a43d2cf3a6c9b4ddce1cb00d812e7c2a7f6b54 (patch)
treebbb2131182890ce7f8925b38757fa938ee6ce3e2 /net-im/kpopup
parent8e2ff6ca6077d44e6a25d19f753061dcb68e31e6 (diff)
downloadports-b4a43d2cf3a6c9b4ddce1cb00d812e7c2a7f6b54.tar.gz
ports-b4a43d2cf3a6c9b4ddce1cb00d812e7c2a7f6b54.zip
Notes
Diffstat (limited to 'net-im/kpopup')
-rw-r--r--net-im/kpopup/Makefile3
-rw-r--r--net-im/kpopup/files/patch-kpopup_misc.h11
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; \