Lines 7-13
Link Here
|
7 |
cat >> ${MAKE_CONF} << EOF |
7 |
cat >> ${MAKE_CONF} << EOF |
8 |
# Begin portconf settings |
8 |
# Begin portconf settings |
9 |
# Do not touch these lines |
9 |
# Do not touch these lines |
10 |
.if !empty(.CURDIR:M/usr/ports*) && exists(${PKG_PREFIX}/libexec/portconf) |
10 |
.if !empty(\${PORTSDIR}) |
|
|
11 |
_PORTSDIR!= /bin/realpath \${PORTSDIR} |
12 |
.else |
13 |
_PORTSDIR!= /bin/realpath /usr/ports |
14 |
.endif |
15 |
.if \${.CURDIR:M\${_PORTSDIR}*} != "" && exists(${PKG_PREFIX}/libexec/portconf) |
11 |
_PORTCONF!=${PKG_PREFIX}/libexec/portconf |
16 |
_PORTCONF!=${PKG_PREFIX}/libexec/portconf |
12 |
.for i in \${_PORTCONF:S/|/ /g} |
17 |
.for i in \${_PORTCONF:S/|/ /g} |
13 |
\${i:S/%/ /g} |
18 |
\${i:S/%/ /g} |