aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2001-10-11 04:53:16 +0800
committerdougb <dougb@FreeBSD.org>2001-10-11 04:53:16 +0800
commit357a5b9265e089d2872b6fc8400949d739d73f1b (patch)
tree0b6323e62181f76c2fc4a9263bf34a75d1ab613e
parent4c37850a47e78166bb1b6aa1140dc9681fcdf321 (diff)
downloadfreebsd-ports-gnome-357a5b9265e089d2872b6fc8400949d739d73f1b.tar.gz
freebsd-ports-gnome-357a5b9265e089d2872b6fc8400949d739d73f1b.tar.zst
freebsd-ports-gnome-357a5b9265e089d2872b6fc8400949d739d73f1b.zip
I've already had 4 e-mails about this, so add a warning about keeping
the cclient library and this port in synch, both in terms of version and compile options.
-rw-r--r--mail/pine4/Makefile1
-rw-r--r--mail/pine4/pkg-libwarning7
2 files changed, 8 insertions, 0 deletions
diff --git a/mail/pine4/Makefile b/mail/pine4/Makefile
index 2aa2acc93e40..2dc7b5e441c6 100644
--- a/mail/pine4/Makefile
+++ b/mail/pine4/Makefile
@@ -46,6 +46,7 @@ pre-fetch:
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
${SH} pkg-install
+ ${SH} pkg-libwarning
.endif
post-patch:
diff --git a/mail/pine4/pkg-libwarning b/mail/pine4/pkg-libwarning
new file mode 100644
index 000000000000..eba4efa8b9c5
--- /dev/null
+++ b/mail/pine4/pkg-libwarning
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+/usr/bin/dialog --msgbox "This port requires an up to date cclient library. Your best chance of success is to pkg_delete cclient, then do: make clean && make install in this directory. Include whatever compile options you desire in the make install step, such as -DWITH_SSL. The important factor is that the cclient library and this program be compiled with the same options." 12 70 || /usr/bin/false