mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Allow use with bmake (default make on 10 and above)
- Bump PORTREVISION for package change PR: ports/183104 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 18 days)
This commit is contained in:
parent
ea5e988ef0
commit
38e2e32e06
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333038
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= portconf
|
||||
PORTVERSION= 1.6
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= # none
|
||||
DISTFILES= # none
|
||||
|
@ -29,6 +29,7 @@
|
||||
#
|
||||
|
||||
_conf=%%PREFIX%%/etc/ports.conf
|
||||
echo -n "|"
|
||||
if [ ! -r "${_conf}" ]; then
|
||||
exit
|
||||
fi
|
||||
|
@ -10,10 +10,12 @@ cat >> ${MAKE_CONF} << EOF
|
||||
# Do not touch these lines
|
||||
.if !empty(.CURDIR:M${PORTS_DIR}*) && exists(${PKG_PREFIX}/libexec/portconf)
|
||||
_PORTCONF!=${PKG_PREFIX}/libexec/portconf
|
||||
.for i in \${_PORTCONF:S/|/ /g}
|
||||
\${i:S/%/ /g}
|
||||
.if \${_PORTCONF} != "|"
|
||||
.for i in \${_PORTCONF:S/^|//:S/|/ /g}
|
||||
\${i:C/^([^=]*)=.*/\1/}=\${i:C/^[^=]*=//:S/%/ /g}
|
||||
.endfor
|
||||
.endif
|
||||
.endif
|
||||
# End portconf settings
|
||||
EOF
|
||||
echo " Done."
|
||||
|
Loading…
Reference in New Issue
Block a user