mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Make any local configuration file unconditional. That is, if one exists
then run it even if GNU configure is to be run later. Submitted by: jkh
This commit is contained in:
parent
7ca702f09f
commit
e1d94293b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=7
1 changed files with 8 additions and 8 deletions
|
@ -1,7 +1,7 @@
|
|||
# bsd.port.mk - 940820 Jordan K. Hubbard.
|
||||
# This file is in the public domain.
|
||||
#
|
||||
# $Id$
|
||||
# $Id: bsd.port.mk,v 1.1 1994/08/21 13:12:57 jkh Exp $
|
||||
|
||||
#
|
||||
# Supported Variables and their behaviors:
|
||||
|
@ -103,13 +103,6 @@ configure: extract
|
|||
patch -d ${WRKSRC} --quiet -E -p0 < $$i; \
|
||||
done; \
|
||||
fi
|
||||
.if defined(GNU_CONFIGURE)
|
||||
.if !defined(GNU_CONFIGURE_ARGS)
|
||||
@(cd ${WRKSRC}; ./configure i386--freebsd)
|
||||
.else !defined(GNU_CONFIGURE_ARGS)
|
||||
@(cd ${WRKSRC}; ./configure ${GNU_CONFIGURE_ARGS})
|
||||
.endif
|
||||
.endif
|
||||
# We have a small convention for our local configure scripts, which
|
||||
# is that ${.CURDIR} and the package working directory get passed as
|
||||
# command-line arguments since all other methods are a little
|
||||
|
@ -117,6 +110,13 @@ configure: extract
|
|||
@if [ -f ${SCRIPTDIR}/configure ]; then \
|
||||
sh ${SCRIPTDIR}/configure ${.CURDIR} ${WRKSRC}; \
|
||||
fi
|
||||
.if defined(GNU_CONFIGURE)
|
||||
.if !defined(GNU_CONFIGURE_ARGS)
|
||||
@(cd ${WRKSRC}; ./configure i386--freebsd)
|
||||
.else !defined(GNU_CONFIGURE_ARGS)
|
||||
@(cd ${WRKSRC}; ./configure ${GNU_CONFIGURE_ARGS})
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if !target(extract)
|
||||
|
|
Loading…
Add table
Reference in a new issue