summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschmonz <schmonz>2004-08-02 04:53:00 +0000
committerschmonz <schmonz>2004-08-02 04:53:00 +0000
commitea597086ffd77cf5b6a1d22df008cd11bec6311b (patch)
treeeaec3a0a6d966177c4661a7432bb177a5a50408b
parente16972a3a7559d3baefa2d7ab664077c01113fa8 (diff)
downloadpkgsrc-ea597086ffd77cf5b6a1d22df008cd11bec6311b.tar.gz
The Mac OS X Panther patch needs a different PATCH_DIST_STRIP from
the netqmail patch.
-rw-r--r--mail/qmail/Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/qmail/Makefile.common b/mail/qmail/Makefile.common
index 78c1acd6732..1f10561a78b 100644
--- a/mail/qmail/Makefile.common
+++ b/mail/qmail/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.2 2004/08/02 03:57:17 schmonz Exp $
+# $NetBSD: Makefile.common,v 1.3 2004/08/02 04:53:00 schmonz Exp $
#
QMAIL_VERS= qmail-1.03
@@ -71,7 +71,9 @@ INSTALLATION_DIRS+= share/doc/qmail share/examples/qmail share/qmail
OSXSUFX= .doc
PATCHFILES= panther.patch
PATCH_SITES= http://http.netdevice.com:9080/qmail/patch/
+. if defined(PKG_PHASE) && ${PKG_PHASE} == "patch"
PATCH_DIST_STRIP= -p1
+. endif
.else
OSXSUFX= # empty
.endif