summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2012-03-09 10:20:15 +0000
committerfhajny <fhajny@pkgsrc.org>2012-03-09 10:20:15 +0000
commit6bab469a2294f580aa6c7a2c3f5bd9608b1ecf55 (patch)
tree000e4efd5a5b9938a5fac344f64f46dd119d8978
parent7c1354a8beff1ae264142eb8409cca7d9e201ad2 (diff)
downloadpkgsrc-6bab469a2294f580aa6c7a2c3f5bd9608b1ecf55.tar.gz
Only conflict with gtar-base and gcpio if NBPAX_PROGRAM_PREFIX empty.
-rw-r--r--archivers/pax/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/archivers/pax/Makefile b/archivers/pax/Makefile
index bec563ecc8e..38b29fc8795 100644
--- a/archivers/pax/Makefile
+++ b/archivers/pax/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.44 2012/03/04 19:50:21 joerg Exp $
+# $NetBSD: Makefile,v 1.45 2012/03/09 10:20:15 fhajny Exp $
DISTNAME= pax-20080110
CATEGORIES= archivers
@@ -26,10 +26,12 @@ CONFIGURE_ARGS+= --program-prefix=${NBPAX_PROGRAM_PREFIX:Q}
.else
# pax installs "tar" and "cpio"
-.if defined(GNU_PROGRAM_PREFIX) && empty(GNU_PROGRAM_PREFIX)
+.if defined(GNU_PROGRAM_PREFIX) && empty(GNU_PROGRAM_PREFIX) && \
+ (!defined(NBPAX_PROGRAM_PREFIX) || empty(NBPAX_PROGRAM_PREFIX))
CONFLICTS+= gcpio-[0-9]*
.endif
-.if defined(GTAR_PROGRAM_PREFIX) && empty(GTAR_PROGRAM_PREFIX)
+.if defined(GTAR_PROGRAM_PREFIX) && empty(GTAR_PROGRAM_PREFIX) && \
+ (!defined(NBPAX_PROGRAM_PREFIX) || empty(NBPAX_PROGRAM_PREFIX))
CONFLICTS+= gtar-base-[0-9]*
.endif