summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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