pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/xpkgwedge Add runtime dependency of xpkgwedge...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f1f6ae6e129
branches:  trunk
changeset: 506172:2f1f6ae6e129
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jan 12 19:02:34 2006 +0000

description:
Add runtime dependency of xpkgwedge on imake and xmkmf.

When using non-native X11, xpkgwedge could be installed before imake
and host.def en up with just the xpkgwedge.def include. This means
that ProjectRoot as set by xorg's host.def is not used and wrong
path names are used. This run time dependency is the easiest way to
ensure proper order, but isn't perfect. Just providing a fixed host.def
and a secondary include file for Lesstif to modify breaks with
USE_XPKGWEDGE=NO, so keep the old approach.

Discussed with jlam@

diffstat:

 pkgtools/xpkgwedge/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 2e201c0e0741 -r 2f1f6ae6e129 pkgtools/xpkgwedge/Makefile
--- a/pkgtools/xpkgwedge/Makefile       Thu Jan 12 18:39:13 2006 +0000
+++ b/pkgtools/xpkgwedge/Makefile       Thu Jan 12 19:02:34 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.63 2006/01/06 16:58:32 joerg Exp $
+# $NetBSD: Makefile,v 1.64 2006/01/12 19:02:34 joerg Exp $
 
-DISTNAME=      xpkgwedge-1.14
+DISTNAME=      xpkgwedge-1.15
 CATEGORIES=    pkgtools devel x11
 MASTER_SITES=  # empty
 DISTFILES=     # empty
@@ -19,6 +19,9 @@
 NO_CHECKSUM=   yes
 
 .include "../../mk/bsd.prefs.mk"
+
+USE_TOOLS+=    imake:run xmkmf:run
+
 .if ${LOCALBASE} == ${X11BASE}
 PKG_SKIP_REASON+=      "xpkgwedge is not needed when X11BASE is LOCALBASE"
 .endif



Home | Main Index | Thread Index | Old Index