Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 1999 15:20:17 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        ports@FreeBSD.ORG
Cc:        jkh@FreeBSD.ORG
Subject:   ignoring package dependencies
Message-ID:  <199902102320.PAA82683@silvia.hip.berkeley.edu>

next in thread | raw e-mail | index | archive | help
What do people think about this one?

===
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.304
diff -u -r1.304 bsd.port.mk
--- bsd.port.mk	1999/02/03 11:06:19	1.304
+++ bsd.port.mk	1999/02/10 22:34:03
@@ -570,6 +570,8 @@
 BUILD_DEPENDS+=		${X11BASE}/lib/libXm.a:${PORTSDIR}/x11-toolkits/Motif-dummy
 .endif
 
+PKG_IGNORE=		'(XFree86-3\.3\.3\.1|Motif-2\.1\.10)'
+
 PERL_VERSION=	5.00502
 PERL_VER=		5.005
 PERL_ARCH=		${ARCH}-freebsd
@@ -732,7 +734,7 @@
 PKG_CMD?=		/usr/sbin/pkg_create
 PKG_DELETE?=	/usr/sbin/pkg_delete
 .if !defined(PKG_ARGS)
-PKG_ARGS=		-v -c ${COMMENT} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`${MAKE} package-depends|sort -u`" ${EXTRA_PKG_ARGS}
+PKG_ARGS=		-v -c ${COMMENT} -d ${DESCR} -f ${TMPPLIST} -p ${PREFIX} -P "`${MAKE} package-depends | grep -v -E ${PKG_IGNORE} | sort -u`" ${EXTRA_PKG_ARGS}
 .if exists(${PKGINSTALL})
 PKG_ARGS+=		-i ${PKGINSTALL}
 .endif
===

Basically what it does is to not register the Motif and XFree86
dependencies in the packages.

I need all the dependencies in INDEX so the package builds will pick
up the stripped Motif/XFree86 tarball.  But Motif is not installed by
us on users' systems so we have no hope of having the /var/db/pkg
entry made.  For XFree86, Jordan already fixed it but we've gotten
enough "I have XFree86-3.3.3, why is it complaining about
XFree86-3.3.3.1?" questions I'm inclined to erase that too.

Satoshi


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902102320.PAA82683>