pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk We only need to set USE_X11BASE, run install.man, a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6d9ab421722b
branches: trunk
changeset: 495554:6d9ab421722b
user: jlam <jlam%pkgsrc.org@localhost>
date: Tue Jun 14 02:09:38 2005 +0000
description:
We only need to set USE_X11BASE, run install.man, and override the
compiler (CC/CXX) if we're actually using imake to generate Makefiles
for building and installing software. This fixes errors in various
KDE-3.x packages that use imake for other purposes.
diffstat:
mk/bsd.pkg.use.mk | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 663f0b18ef6e -r 6d9ab421722b mk/bsd.pkg.use.mk
--- a/mk/bsd.pkg.use.mk Tue Jun 14 01:35:09 2005 +0000
+++ b/mk/bsd.pkg.use.mk Tue Jun 14 02:09:38 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.use.mk,v 1.16 2005/06/01 18:03:05 jlam Exp $
+# $NetBSD: bsd.pkg.use.mk,v 1.17 2005/06/14 02:09:38 jlam Exp $
#
# Turn USE_* macros into proper depedency logic. Included near the top of
# bsd.pkg.mk, after bsd.prefs.mk.
@@ -8,8 +8,6 @@
############################################################################
.if defined(USE_IMAKE) || !empty(USE_TOOLS:Mimake)
-INSTALL_TARGET+= ${NO_INSTALL_MANPAGES:D:Uinstall.man}
-USE_X11BASE?= implied
PLIST_SUBST+= IMAKE_MAN_SOURCE_PATH=${IMAKE_MAN_SOURCE_PATH}
PLIST_SUBST+= IMAKE_MAN_DIR=${IMAKE_MAN_DIR}
PLIST_SUBST+= IMAKE_LIBMAN_DIR=${IMAKE_LIBMAN_DIR}
@@ -22,6 +20,11 @@
PLIST_SUBST+= IMAKE_FILEMAN_SUFFIX=${IMAKE_FILEMAN_SUFFIX}
PLIST_SUBST+= IMAKE_MISCMAN_SUFFIX=${IMAKE_MISCMAN_SUFFIX}
PLIST_SUBST+= IMAKE_MANNEWSUFFIX=${IMAKE_MANNEWSUFFIX}
+.endif
+
+.if defined(USE_IMAKE)
+USE_X11BASE?= implied
+INSTALL_TARGET+= ${NO_INSTALL_MANPAGES:D:Uinstall.man}
MAKE_FLAGS+= CC=${CC:Q} CXX=${CXX:Q}
.endif
Home |
Main Index |
Thread Index |
Old Index