FreeBSD Bugzilla – Attachment 9390 Details for
Bug 19241
PERL_CONFIGURE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.90 KB, created by
Christian Weisgerber
on 2000-06-13 15:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Christian Weisgerber
Created:
2000-06-13 15:10:00 UTC
Size:
1.90 KB
patch
obsolete
>--- bsd.port.mk.orig Sun May 7 05:54:34 2000 >+++ bsd.port.mk Tue Jun 13 15:38:44 2000 >@@ -371,13 +371,16 @@ > # configure stage will not do anything if this is not set. > # GNU_CONFIGURE - Set if you are using GNU configure (optional). Implies > # HAS_CONFIGURE. >+# PERL_CONFIGURE - Configure using Perl's MakeMaker. Implies USE_PERL5. > # CONFIGURE_WRKSRC - Directory to run configure in (default: ${WRKSRC}). >-# CONFIGURE_SCRIPT - Name of configure script (default: configure). >+# CONFIGURE_SCRIPT - Name of configure script (default: "Makefile.PL" if >+# PERL_CONFIGURE is set, "configure" otherwise). > # CONFIGURE_TARGET - The name of target to call when GNU_CONFIGURE is > # defined (default: ${MACHINE_ARCH}--freebsd${OSREL}). > # CONFIGURE_ARGS - Pass these args to configure if ${HAS_CONFIGURE} is set > # (default: "--prefix=${PREFIX} ${CONFIGURE_TARGET}" if >-# GNU_CONFIGURE is set, empty otherwise). >+# GNU_CONFIGURE is set, "CC=${CC} CCFLAGS=${CFLAGS} >+# PREFIX=${PREFIX}" if PERL_CONFIGURE is set, empty otherwise). > # CONFIGURE_ENV - Pass these env (shell-like) to configure if > # ${HAS_CONFIGURE} is set. > # CONFIGURE_LOG - The name of configure log file (default: config.log). >@@ -1226,6 +1229,13 @@ > .endif > PKGLATESTFILE?= ${PKGLATESTREPOSITORY}/${PKGBASE}${PKG_SUFX} > >+.if defined(PERL_CONFIGURE) >+CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" >+CONFIGURE_SCRIPT?= Makefile.PL >+USE_PERL5= yes >+.undef HAS_CONFIGURE >+.endif >+ > CONFIGURE_WRKSRC?= ${WRKSRC} > CONFIGURE_SCRIPT?= configure > CONFIGURE_TARGET?= ${MACHINE_ARCH}--freebsd${OSREL} >@@ -1750,6 +1760,11 @@ > ${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \ > ${FALSE}; \ > fi) >+.endif >+.if defined(PERL_CONFIGURE) >+ @cd ${CONFIGURE_WRKSRC} && \ >+ ${SETENV} ${CONFIGURE_ENV} \ >+ ${PERL5} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} > .endif > .if defined(USE_IMAKE) > @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${XMKMF})
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 19241
: 9390