summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-08-04 22:56:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-08-04 22:56:01 +0000
commit8da581790c11e625a17b4e9deecfb0bb8d4a6fa2 (patch)
treeaa4c8c392097ad5203f90951d29e7a24d88720c0 /share
parent3eeb23cf568289f1578951ba2b5576c80e2acac8 (diff)
set PATH only on configure run, unbreak autoreconf...
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.xorg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/mk/bsd.xorg.mk b/share/mk/bsd.xorg.mk
index ebe786125..5eade9177 100644
--- a/share/mk/bsd.xorg.mk
+++ b/share/mk/bsd.xorg.mk
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.xorg.mk,v 1.35 2010/08/04 22:50:51 espie Exp $ -*- makefile -*-
+# $OpenBSD: bsd.xorg.mk,v 1.36 2010/08/04 22:56:00 espie Exp $ -*- makefile -*-
#
# Copyright © 2006 Matthieu Herrb
#
@@ -57,7 +57,6 @@ XENOCARA_PATH?= /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
CONFIGURE_ENV= PKG_CONFIG_LIBDIR="$(PKG_CONFIG_LIBDIR)" \
CONFIG_SITE=$(CONFIG_SITE) \
CFLAGS="$(CFLAGS:C/ *$//)" \
- PATH=$(XENOCARA_PATH) \
MAKE="${MAKE}"
AUTOTOOLS_ENV= AUTOMAKE_VERSION="$(AUTOMAKE_VERSION)" \
@@ -169,7 +168,8 @@ config.status:
;; \
esac; done
.endif
- ${CONFIGURE_ENV} exec sh ${_SRCDIR}/configure --prefix=${X11BASE} \
+ ${CONFIGURE_ENV} PATH=$(XENOCARA_PATH) \
+ exec sh ${_SRCDIR}/configure --prefix=${X11BASE} \
--sysconfdir=/etc \
--mandir=${X11BASE}/man \
${_cache} \