To close my PR #22693.

If GTAR_PROGRAM_PREFIX is empty, then conflict with gtar-base.

If GNU_PROGRAM_PREFIX is empty, then conflict with gcpio.

Bump PKGREVISION.
This commit is contained in:
reed 2006-10-07 16:52:19 +00:00
parent c3f7c6136b
commit 717e353fe6

View file

@ -1,8 +1,17 @@
# $NetBSD: Makefile,v 1.28 2006/07/14 20:11:10 jlam Exp $
# $NetBSD: Makefile,v 1.29 2006/10/07 16:52:19 reed Exp $
.include "Makefile.common"
CATEGORIES= archivers
PKGREVISION= 1
# pax installs "tar" and "cpio"
.if defined(GNU_PROGRAM_PREFIX) && ${GNU_PROGRAM_PREFIX} == ""
CONFLICTS+= gcpio-[0-9]*
.endif
.if defined(GTAR_PROGRAM_PREFIX) && ${GTAR_PROGRAM_PREFIX} == ""
CONFLICTS+= gtar-base-[0-9]*
.endif
.include "../../pkgtools/libnbcompat/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"