summaryrefslogtreecommitdiff
path: root/mail/cucipop
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-06-07 17:48:34 +0000
committerjmmv <jmmv>2003-06-07 17:48:34 +0000
commit49e358a996cc9b7e2f818d06fe2477d032478cfa (patch)
tree91eb1d656a6d8de878ff0181b5cff2f15afc5a34 /mail/cucipop
parent14bce30ffb142b4ea6eda8de241abdaf60fab658 (diff)
downloadpkgsrc-49e358a996cc9b7e2f818d06fe2477d032478cfa.tar.gz
Avoid hardcoding /usr/pkg in patch files.
Do the "dynamic" substitution in the pre-configure target instead of post-patch so that patches can be generated properly after a "make patch".
Diffstat (limited to 'mail/cucipop')
-rw-r--r--mail/cucipop/Makefile4
-rw-r--r--mail/cucipop/distinfo4
-rw-r--r--mail/cucipop/patches/patch-ac8
3 files changed, 8 insertions, 8 deletions
diff --git a/mail/cucipop/Makefile b/mail/cucipop/Makefile
index 391bb3e477e..9a7b771a5af 100644
--- a/mail/cucipop/Makefile
+++ b/mail/cucipop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/06/02 01:18:50 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2003/06/07 17:48:34 jmmv Exp $
#
DISTNAME= cucipop-1.31
@@ -27,7 +27,7 @@ MAKE_ENV+= CFLAGS_INET6=-DINET6
LDFLAGS+= -lnsl -lsocket
.endif
-post-patch:
+pre-configure:
@(cd ${WRKSRC}; \
for f in config.h cucipop.8 makevpopdb.8; do \
${SED} -e 's|@prefix@|${PREFIX}|g' $$f > $$f.fixed && \
diff --git a/mail/cucipop/distinfo b/mail/cucipop/distinfo
index 59c4a20f3d9..1b4e57092a6 100644
--- a/mail/cucipop/distinfo
+++ b/mail/cucipop/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2001/05/01 06:55:51 jlam Exp $
+$NetBSD: distinfo,v 1.4 2003/06/07 17:48:34 jmmv Exp $
SHA1 (cucipop-1.31.tar.gz) = d9b5dc2960e96ad1ee63f0a6f8879165f4477434
Size (cucipop-1.31.tar.gz) = 35508 bytes
@@ -6,6 +6,6 @@ SHA1 (cucipop-1.31-v6-20010223.diff.gz) = 09dd955783237ea83b8b1052e464cf80bf6410
Size (cucipop-1.31-v6-20010223.diff.gz) = 1713 bytes
SHA1 (patch-aa) = baf7a7a262d8d50d404bcc1eed9fe8da72a7b927
SHA1 (patch-ab) = 2f021113d2634065034065aba0afd06b7a403cb1
-SHA1 (patch-ac) = a44452d25e33d3090cdf85ab6d76405fcbf28746
+SHA1 (patch-ac) = 5d768b6b0badf8357bdb6668efb144bc14f98318
SHA1 (patch-ad) = 5cc45c1f41f41fcf9da0c07d65c3ed3489c0cfe8
SHA1 (patch-ae) = 30715d0e00ed4862601ea0cb69fdb797a9eb234a
diff --git a/mail/cucipop/patches/patch-ac b/mail/cucipop/patches/patch-ac
index c74e1b6d92a..b3ed3c1ec02 100644
--- a/mail/cucipop/patches/patch-ac
+++ b/mail/cucipop/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.2 1998/08/07 11:09:31 agc Exp $
+$NetBSD: patch-ac,v 1.3 2003/06/07 17:48:34 jmmv Exp $
--- cucipop.8.orig Mon May 11 17:35:19 1998
+++ cucipop.8 Tue Jul 21 11:17:48 1998
@@ -22,18 +22,18 @@ $NetBSD: patch-ac,v 1.2 1998/08/07 11:09:31 agc Exp $
would be suitable:
.Sx 1
-pop-3 stream tcp nowait root /usr/sbin/cucipop cucipop -Y
-+pop-3 stream tcp nowait root /usr/pkg/sbin/cucipop cucipop -Y
++pop-3 stream tcp nowait root @prefix@/sbin/cucipop cucipop -Y
.Ex
If your site gets many hits from popclients, it would be preferable
to start cucipop standalone as in:
.Sx 1
-/usr/sbin/cucipop -Y
-+/usr/pkg/sbin/cucipop -Y
++@prefix@/sbin/cucipop -Y
.Ex
Your typical BOFH setting would be:
.Sx 1
-/usr/sbin/cucipop -YaSE 6w
-+/usr/pkg/sbin/cucipop -YaSE 6w
++@prefix@/sbin/cucipop -YaSE 6w
.Ex
.SH FILES
.TP 2.3i