|
Lines 371-383
Link Here
|
| 371 |
# configure stage will not do anything if this is not set. |
371 |
# configure stage will not do anything if this is not set. |
| 372 |
# GNU_CONFIGURE - Set if you are using GNU configure (optional). Implies |
372 |
# GNU_CONFIGURE - Set if you are using GNU configure (optional). Implies |
| 373 |
# HAS_CONFIGURE. |
373 |
# HAS_CONFIGURE. |
|
|
374 |
# PERL_CONFIGURE - Configure using Perl's MakeMaker. Implies USE_PERL5. |
| 374 |
# CONFIGURE_WRKSRC - Directory to run configure in (default: ${WRKSRC}). |
375 |
# CONFIGURE_WRKSRC - Directory to run configure in (default: ${WRKSRC}). |
| 375 |
# CONFIGURE_SCRIPT - Name of configure script (default: configure). |
376 |
# CONFIGURE_SCRIPT - Name of configure script (default: "Makefile.PL" if |
|
|
377 |
# PERL_CONFIGURE is set, "configure" otherwise). |
| 376 |
# CONFIGURE_TARGET - The name of target to call when GNU_CONFIGURE is |
378 |
# CONFIGURE_TARGET - The name of target to call when GNU_CONFIGURE is |
| 377 |
# defined (default: ${MACHINE_ARCH}--freebsd${OSREL}). |
379 |
# defined (default: ${MACHINE_ARCH}--freebsd${OSREL}). |
| 378 |
# CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is set |
380 |
# CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is set |
| 379 |
# (default: "--prefix=${PREFIX} ${CONFIGURE_TARGET}" if |
381 |
# (default: "--prefix=${PREFIX} ${CONFIGURE_TARGET}" if |
| 380 |
# GNU_CONFIGURE is set, empty otherwise). |
382 |
# GNU_CONFIGURE is set, "CC=${CC} CCFLAGS=${CFLAGS} |
|
|
383 |
# PREFIX=${PREFIX}" if PERL_CONFIGURE is set, empty otherwise). |
| 381 |
# CONFIGURE_ENV - Pass these env (shell-like) to configure if |
384 |
# CONFIGURE_ENV - Pass these env (shell-like) to configure if |
| 382 |
# ${HAS_CONFIGURE} is set. |
385 |
# ${HAS_CONFIGURE} is set. |
| 383 |
# CONFIGURE_LOG - The name of configure log file (default: config.log). |
386 |
# CONFIGURE_LOG - The name of configure log file (default: config.log). |
|
Lines 1226-1231
Link Here
|
| 1226 |
.endif |
1229 |
.endif |
| 1227 |
PKGLATESTFILE?= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} |
1230 |
PKGLATESTFILE?= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} |
| 1228 |
|
1231 |
|
|
|
1232 |
.if defined(PERL_CONFIGURE) |
| 1233 |
CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" |
| 1234 |
CONFIGURE_SCRIPT?= Makefile.PL |
| 1235 |
USE_PERL5= yes |
| 1236 |
.undef HAS_CONFIGURE |
| 1237 |
.endif |
| 1238 |
|
| 1229 |
CONFIGURE_WRKSRC?= ${WRKSRC} |
1239 |
CONFIGURE_WRKSRC?= ${WRKSRC} |
| 1230 |
CONFIGURE_SCRIPT?= configure |
1240 |
CONFIGURE_SCRIPT?= configure |
| 1231 |
CONFIGURE_TARGET?= ${MACHINE_ARCH}--freebsd${OSREL} |
1241 |
CONFIGURE_TARGET?= ${MACHINE_ARCH}--freebsd${OSREL} |
|
Lines 1750-1755
Link Here
|
| 1750 |
${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \ |
1760 |
${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \ |
| 1751 |
${FALSE}; \ |
1761 |
${FALSE}; \ |
| 1752 |
fi) |
1762 |
fi) |
|
|
1763 |
.endif |
| 1764 |
.if defined(PERL_CONFIGURE) |
| 1765 |
@cd ${CONFIGURE_WRKSRC} && \ |
| 1766 |
${SETENV} ${CONFIGURE_ENV} \ |
| 1767 |
${PERL5} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} |
| 1753 |
.endif |
1768 |
.endif |
| 1754 |
.if defined(USE_IMAKE) |
1769 |
.if defined(USE_IMAKE) |
| 1755 |
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF}) |
1770 |
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF}) |