mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user