Fix pre-build target (I messed it up with my first PR a long time ago.)

This prepares for a patch to Mk/bsd.port.mk where AUTO* can be paths not
just filenames.

PR:		44395
Submitted by:	alane
Approved by:	maintainer
This commit is contained in:
Alan Eldridge 2002-10-23 14:28:17 +00:00
parent df4ccceac7
commit 7ffcc2733f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68660

View file

@ -119,10 +119,10 @@ PATCH_SITES+= http://home.woolridge.ca/mutt/patches/
# this should be done automagically by aclocal but ....
# for now, this will have to do
pre-build:
@${REINPLACE_CMD} -E -e "s/^(ACLOCAL = ).+/\1${ACLOCAL}/" \
-e "s/^(AUTOCONF = ).+/\1${AUTOCONF}/" \
-e "s/^(AUTOMAKE = ).+/\1${AUTOMAKE}/" \
-e "s/^(AUTOHEADER = ).+/\1${AUTOHEADER}/" \
${REINPLACE_CMD} -E -e "s|^(ACLOCAL = ).+|\1${ACLOCAL}|" \
-e "s|^(AUTOCONF = ).+|\1${AUTOCONF}|" \
-e "s|^(AUTOMAKE = ).+|\1${AUTOMAKE}|" \
-e "s|^(AUTOHEADER = ).+|\1${AUTOHEADER}|" \
${BUILD_WRKSRC}/Makefile
.if !defined(PATCH_VERSION)