summaryrefslogtreecommitdiff
path: root/net/kdenetwork4
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-08 14:10:04 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-08 14:10:04 +0000
commitc804805778dab47d4833a9ce1e2535888061c2f4 (patch)
tree9703b366668311b0612cf8ebad83fba9a91b5f5b /net/kdenetwork4
parentAdd ruby-amstd to RUN_DEPENDS which was hiding behind ruby-strscan (diff)
Fix a problem with auto{conf,make}: some build magic was introduced to
make sure that the "autoconf" and "automake" binaries KDE looked for were found and were autoconf213 and automake14 (as there are issues with the latest versions), but the logic in setting $PATH was wrong. This puts ${WRKSRC}/auto-bin before the rest of the users $PATH. This fixes KDE auto* problems if automake14 and automake-1.5 are both installed. PR: 32512 Submitted by: Alan Eldridge <alane@geeksrus.net> Approved by: will
Notes
Notes: svn path=/head/; revision=51218
Diffstat (limited to 'net/kdenetwork4')
-rw-r--r--net/kdenetwork4/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/kdenetwork4/Makefile b/net/kdenetwork4/Makefile
index cc7b590ecb18..33580b3a398a 100644
--- a/net/kdenetwork4/Makefile
+++ b/net/kdenetwork4/Makefile
@@ -31,6 +31,7 @@ CONFIGURE_ARGS+=--enable-final
CONFIGURE_ARGS+=--disable-debug
.endif
USE_GMAKE= yes
+CONFIGURE_ENV+= PATH=${WRKSRC}/auto-bin:$$PATH
MAKE_ENV= ${CONFIGURE_ENV}
pre-configure:
@@ -41,7 +42,7 @@ pre-configure:
.for AM in automake aclocal
${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
.endfor
- cd ${WRKSRC} && env PATH=$$PATH:${WRKSRC}/auto-bin \
+ cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
${GMAKE} -f Makefile.cvs
${PERL} -pi -e "s:-lpthread:${PTHREAD_LIBS}:g" ${WRKSRC}/knode/Makefile.in
${PERL} -pi -e "s@all_includes=\"@all_includes=\"-I/usr/include @g" ${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4