1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Fix build by improving GNU auto* tools disabling patch

Submitted by:	bento
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-11-26 12:04:54 +00:00
parent 1ff50ee7bc
commit 58b9a1c196
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71112
2 changed files with 8 additions and 8 deletions

View File

@ -67,6 +67,10 @@ post-patch:
s|^(dc_gui_OBJECTS[^\\]+)(\\*)$$|\1 ${file:S/.c$/.o/} \2|' \
${WRKSRC}/src/Makefile.in
.endfor
# disable GNU auto* tools
@${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
-x -n 10 ${REINPLACE_CMD} -E -e \
's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!'
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
@ -76,10 +80,6 @@ post-configure:
@${ECHO_CMD} '#ifndef SEMVMX' >> ${WRKSRC}/config.h
@${ECHO_CMD} '#define SEMVMX 32767' >> ${WRKSRC}/config.h
@${ECHO_CMD} '#endif' >> ${WRKSRC}/config.h
# disable GNU auto* tools
@${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \
-n 10 ${REINPLACE_CMD} -E -e \
's! (autoconf|autoheader|automake|aclocal)$$! ${TRUE}!'
post-install:
.ifndef(NOPORTDOCS)

View File

@ -67,6 +67,10 @@ post-patch:
s|^(dc_gui_OBJECTS[^\\]+)(\\*)$$|\1 ${file:S/.c$/.o/} \2|' \
${WRKSRC}/src/Makefile.in
.endfor
# disable GNU auto* tools
@${FIND} ${WRKSRC} -type f -name "Makefile.in" | ${XARGS} \
-x -n 10 ${REINPLACE_CMD} -E -e \
's!^(ACLOCAL|AUTOCONF|AUTOMAKE|AUTOHEADER).+$$!\1=${TRUE}!'
post-configure:
@${ECHO_CMD} '#ifndef MSG_NOSIGNAL' >> ${CONFIGURE_WRKSRC}/config.h
@ -76,10 +80,6 @@ post-configure:
@${ECHO_CMD} '#ifndef SEMVMX' >> ${WRKSRC}/config.h
@${ECHO_CMD} '#define SEMVMX 32767' >> ${WRKSRC}/config.h
@${ECHO_CMD} '#endif' >> ${WRKSRC}/config.h
# disable GNU auto* tools
@${FIND} ${WRKSRC} -type f -name "Makefile" | ${XARGS} \
-n 10 ${REINPLACE_CMD} -E -e \
's! (autoconf|autoheader|automake|aclocal)$$! ${TRUE}!'
post-install:
.ifndef(NOPORTDOCS)