summaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-07-11 06:38:09 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-07-11 06:38:09 +0000
commit134860f0dabf4b3429659a97f39280927a50f800 (patch)
treea2bd92800a1e4e01df5700cc35ef46f5278ffbef /x11-toolkits
parentIf GNU_CONFIGURE is defined, replace all instances of config.guess (diff)
The port distfile contains bogus config.sub and config.guess symlinks
pointing to /usr where those files presumably live on the author's machine. The port pre-configure target repointed them at copies installed by the automake port, but we want to make sure to use the master version from ${PORTSDIR}/Templates/ instead. Remove the symlinks in pre-configure and touch config.sub so it is replaced with the master script by the code in bsd.port.mk.
Notes
Notes: svn path=/head/; revision=84649
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/libgtkeditor/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/libgtkeditor/Makefile b/x11-toolkits/libgtkeditor/Makefile
index 3cab4ededc7f..2e6b516d9de9 100644
--- a/x11-toolkits/libgtkeditor/Makefile
+++ b/x11-toolkits/libgtkeditor/Makefile
@@ -29,9 +29,11 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_TARGET= ${MACHINE_ARCH}-portbld-freebsd${OSREL}
pre-configure:
-.for file in install-sh config.sub mkinstalldirs
+.for file in install-sh mkinstalldirs
@${LN} -sf ${LOCALBASE}/share/automake/${file} ${WRKSRC}/${file}
.endfor
+ @${RM} ${WRKSRC}/config.guess ${WRKSRC}/config.sub
+ @${TOUCH} ${WRKSRC}/config.sub
post-configure:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/scanner.c