FreeBSD Bugzilla – Attachment 39028 Details for
Bug 61621
Add support for p5-Module::Build into bsd.port.mk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.45 KB, created by
skv
on 2004-01-20 11:20:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
skv
Created:
2004-01-20 11:20:12 UTC
Size:
2.45 KB
patch
obsolete
>--- bsd.port.orig.mk Tue Jan 20 13:00:44 2004 >+++ bsd.port.mk Tue Jan 20 13:54:09 2004 >@@ -327,6 +327,7 @@ > # (value: perl5) > # SITE_PERL - Directory name where site specific perl packages go. > # This value is added to PLIST_SUB. >+# PERL_MODBUILD - Use Module::Build to configure, build and install port. > ## > # USE_BISON - Says that the port uses bison for building. > ## >@@ -1095,7 +1096,8 @@ > PERL_PORT?= perl5 > .endif > >-SITE_PERL?= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} >+SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VER} >+SITE_PERL?= ${LOCALBASE}/${SITE_PERL_REL} > > .if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036 > PERL5= /usr/bin/perl${PERL_VERSION} >@@ -1598,7 +1600,22 @@ > PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \ > PERL_VER=${PERL_VER} \ > PERL_ARCH=${PERL_ARCH} \ >- SITE_PERL=${SITE_PERL:S|^${LOCALBASE}/||} >+ SITE_PERL=${SITE_PERL_REL} >+ >+.if defined(PERL_MODBUILD) >+PERL_CONFIGURE= yes >+CONFIGURE_SCRIPT?= Build.PL >+BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build >+ALL_TARGET?= >+PL_BUILD?= Build >+CONFIGURE_ARGS+= \ >+ install_path=lib="${PREFIX}/${SITE_PERL_REL}" \ >+ install_path=arch="${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}" \ >+ install_path=script="${PREFIX}/bin" \ >+ install_path=bin="${PREFIX}/bin" \ >+ install_path=libdoc="${MAN3PREFIX}/man/man3" \ >+ install_path=bindoc="${MAN1PREFIX}/man/man1" >+.endif > > .if defined(PERL_CONFIGURE) > USE_PERL5= yes >@@ -3076,9 +3093,13 @@ > .if defined(USE_GMAKE) > @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) > .else >+.if defined(PERL_MODBUILD) >+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} ${ALL_TARGET}) >+.else > @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET}) > .endif > .endif >+.endif > > # Check conflicts > >@@ -3120,11 +3141,15 @@ > .endif > .endif > .else defined(USE_GMAKE) >+.if defined(PERL_MODBUILD) >+ @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} ${INSTALL_TARGET}) >+.else > @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET}) > .if defined(USE_IMAKE) && !defined(NO_INSTALL_MANPAGES) > @(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} install.man) > .if ${XFREE86_HTML_MAN:L} == yes > @${MKHTMLINDEX} ${PREFIX}/lib/X11/doc/html >+.endif > .endif > .endif > .endif
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 61621
: 39028