pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/x11-links Add dependency on XFree86-libs if $...
details: https://anonhg.NetBSD.org/pkgsrc/rev/490933f75fa9
branches: trunk
changeset: 466985:490933f75fa9
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Sun Jan 25 07:43:54 2004 +0000
description:
Add dependency on XFree86-libs if ${X11BASE}/include/X11/X.h doesn't
exists and we are using XFree86 packages from pkgsrc.
diffstat:
pkgtools/x11-links/Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 7035e91b6a43 -r 490933f75fa9 pkgtools/x11-links/Makefile
--- a/pkgtools/x11-links/Makefile Sun Jan 25 04:15:44 2004 +0000
+++ b/pkgtools/x11-links/Makefile Sun Jan 25 07:43:54 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2004/01/20 12:23:58 agc Exp $
+# $NetBSD: Makefile,v 1.48 2004/01/25 07:43:54 xtraeme Exp $
#
# NOTE: If you update this package, then you'll likely need to also update
# the x11-links dependency in mk/buildlink[23]/bsd.buildlink[23].mk
@@ -29,7 +29,10 @@
.include "../../mk/bsd.prefs.mk"
-.if !exists(${X11BASE}/include/X11/X.h)
+.if !exists(${X11BASE}/include/X11/X.h) && \
+ !empty(USE_PKGSRC_XFREE86:M[Yy][Ee][Ss])
+DEPENDS+= XFree86-libs>=4.3.0:../../x11/XFree86-libs
+.elif !exists(${X11BASE}/include/X11/X.h)
PKG_FAIL_REASON= "${PKGNAME} requires X headers to be installed"
.endif
Home |
Main Index |
Thread Index |
Old Index