1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-05 11:35:01 +00:00

Circumvent problem with automake* installed in the system

PR:		34365
Submitted by:	pat
Prompted by:	Alan Eldridge <alane@geeksrus.net>,
		darren <igla@batterybackups.net>
Approved by:	maintainer (2 month timeout)
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-03-24 22:08:00 +00:00
parent 9c6a586f5e
commit f8a3a9f0fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56558
2 changed files with 12 additions and 0 deletions

View File

@ -29,6 +29,12 @@ pre-everything::
@${ECHO_MSG} "====> If you want to enable optimizations, please define WITH_OPTIMIZED_CFLAGS"
.endif
post-patch:
.for p in Makefile.in dvdread/Makefile.in src/Makefile.in
@${PERL} -pi -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \
s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p}
.endfor
post-configure:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}

View File

@ -29,6 +29,12 @@ pre-everything::
@${ECHO_MSG} "====> If you want to enable optimizations, please define WITH_OPTIMIZED_CFLAGS"
.endif
post-patch:
.for p in Makefile.in dvdread/Makefile.in src/Makefile.in
@${PERL} -pi -e 's|cd \$$\(top_srcdir\) && \$$\(AUTOMAKE\)|\#|; \
s|cd \$$\(srcdir\) && \$$\(ACLOCAL\)|\#|' ${WRKSRC}/${p}
.endfor
post-configure:
@${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC}