pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Only do the config.* overrides iff GNU_CONFIGURE. ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/59123e6e5fbf
branches: trunk
changeset: 487455:59123e6e5fbf
user: tv <tv%pkgsrc.org@localhost>
date: Fri Jan 14 14:08:06 2005 +0000
description:
Only do the config.* overrides iff GNU_CONFIGURE. (defined() check needed
to make older bmakes happy.)
diffstat:
mk/bsd.pkg.mk | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diffs (61 lines):
diff -r 023b743d612d -r 59123e6e5fbf mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Fri Jan 14 13:39:59 2005 +0000
+++ b/mk/bsd.pkg.mk Fri Jan 14 14:08:06 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1559 2005/01/14 00:10:01 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1560 2005/01/14 14:08:06 tv Exp $
#
# This file is in the public domain.
#
@@ -2269,8 +2269,9 @@
_CONFIGURE_PREREQ+= do-config-star-override
.PHONY: do-config-star-override
do-config-star-override:
-.if !empty(CONFIG_GUESS_OVERRIDE)
-. for _pattern_ in ${CONFIG_GUESS_OVERRIDE}
+.if defined(GNU_CONFIGURE)
+. if !empty(CONFIG_GUESS_OVERRIDE)
+. for _pattern_ in ${CONFIG_GUESS_OVERRIDE}
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; \
for file in ${_pattern_}; do \
if [ -f "$$file" ]; then \
@@ -2279,10 +2280,10 @@
$$file; \
fi; \
done
-. endfor
-.endif
-.if !empty(CONFIG_SUB_OVERRIDE)
-. for _pattern_ in ${CONFIG_SUB_OVERRIDE}
+. endfor
+. endif
+. if !empty(CONFIG_SUB_OVERRIDE)
+. for _pattern_ in ${CONFIG_SUB_OVERRIDE}
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; \
for file in ${_pattern_}; do \
if [ -f "$$file" ]; then \
@@ -2291,10 +2292,10 @@
$$file; \
fi; \
done
-. endfor
-.endif
-.if !empty(CONFIG_RPATH_OVERRIDE)
-. for _pattern_ in ${CONFIG_RPATH_OVERRIDE}
+. endfor
+. endif
+. if !empty(CONFIG_RPATH_OVERRIDE)
+. for _pattern_ in ${CONFIG_RPATH_OVERRIDE}
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; \
for file in ${_pattern_}; do \
if [ -f "$$file" ]; then \
@@ -2303,7 +2304,8 @@
$$file; \
fi; \
done
-. endfor
+. endfor
+. endif
.endif
PKGCONFIG_OVERRIDE_SED= \
Home |
Main Index |
Thread Index |
Old Index