aboutsummaryrefslogtreecommitdiff
path: root/mail/pine4
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2001-10-10 20:53:16 +0000
committerDoug Barton <dougb@FreeBSD.org>2001-10-10 20:53:16 +0000
commit967f5a3618c69659f5d66c820e06fe8d8cc346c4 (patch)
treee8aa3f779b587fc2a333aa355ca632944cf8d22a /mail/pine4
parent6a7ad3f81afd170450d7fb4274706cdda5e8f56e (diff)
downloadports-967f5a3618c69659f5d66c820e06fe8d8cc346c4.tar.gz
ports-967f5a3618c69659f5d66c820e06fe8d8cc346c4.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.
Notes
Notes: svn path=/head/; revision=48656
Diffstat (limited to 'mail/pine4')
-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