summaryrefslogtreecommitdiff
path: root/mail/courier-maildirmake
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-02-03 13:38:38 +0000
committerjlam <jlam@pkgsrc.org>2002-02-03 13:38:38 +0000
commit816736410b47f086ee745f7dd303ebaf5df701a0 (patch)
tree8ebed6441b0d36f608c0f9a5ac4b1c388898a539 /mail/courier-maildirmake
parent0f6286c61a5b7dcbacadc88cbde6c212da925c6f (diff)
downloadpkgsrc-816736410b47f086ee745f7dd303ebaf5df701a0.tar.gz
Fix reversed logic for setting INSTALL_TARGET=install-strip. Of course,
we want to strip when STRIPFLAGS contains "-s" and not otherwise. Pointed out by Amatai Schlair in private e-mail.
Diffstat (limited to 'mail/courier-maildirmake')
-rw-r--r--mail/courier-maildirmake/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/mail/courier-maildirmake/Makefile b/mail/courier-maildirmake/Makefile
index 6a08ca1bb8a..f33976932cc 100644
--- a/mail/courier-maildirmake/Makefile
+++ b/mail/courier-maildirmake/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/01/23 02:21:20 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2002/02/03 13:38:39 jlam Exp $
PKGNAME= courier-maildirmake-${BASE_VERS}
PKGREVISION?= 1
@@ -21,10 +21,8 @@ WRKSRC_SUBDIRS+= maildir
EXTRACT_ELEMENTS= ${WRKSRC_FILES:S/^/${DISTNAME}\//}
EXTRACT_ELEMENTS+= ${WRKSRC_SUBDIRS:S/^/${DISTNAME}\//}
-.if !defined(STRIPFLAG) || empty(STRIPFLAG:M-s)
+.if defined(STRIPFLAG) && !empty(STRIPFLAG:M-s)
INSTALL_TARGET= install-strip
-.else
-INSTALL_TARGET= install
.endif
CONF_FILES= ${EGDIR}/quotawarnmsg ${PKG_SYSCONFDIR}/quotawarnmsg