summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/libgtkeditor
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2003-07-11 06:38:09 +0000
committerkris <kris@FreeBSD.org>2003-07-11 06:38:09 +0000
commit53463afcc09093eaf180740aa25b30a97127eb6a (patch)
treebbea00fb1c5121b4051c65d7ed1c7d0f244c2a3d /x11-toolkits/libgtkeditor
parent7c677b52878318525d628e589f7ba722d9c2e80f (diff)
downloadFreeBSD-ports-53463afcc09093eaf180740aa25b30a97127eb6a.zip
FreeBSD-ports-53463afcc09093eaf180740aa25b30a97127eb6a.tar.gz
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.
Diffstat (limited to 'x11-toolkits/libgtkeditor')
-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 3cab4ed..2e6b516 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
OpenPOWER on IntegriCloud