Date: Tue, 8 Jul 2003 21:27:47 -0500 (CDT) From: Mark Linimon <linimon@lonesome.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: shige@FreeBSD.org Subject: ports/54238: [patch][non-maintainer] fix build for japanese/perl5 for non-i386 Message-ID: <200307090227.h692Rl7J042410@lonesome.lonesome.com> Resent-Message-ID: <200307090230.h692ULoa089698@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 54238 >Category: ports >Synopsis: [patch][non-maintainer] fix build for japanese/perl5 for non-i386 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 08 19:30:20 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Mark Linimon >Release: FreeBSD-4.7 >Organization: FreeBSD >Environment: System: FreeBSD lonesome.lonesome.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Fri Nov 8 23:46:29 CST 2002 root@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386 >Description: The Makefile for japanese/perl5 has the string "i386" hardcoded in one place. This seems to cause the port to fail to build on all other than i386. >How-To-Repeat: make install (non-i386); see bento logs >Fix: I have not tested this patch on anything other than i386; however, it does build properly on that architecture, and since it currently does not build at all on anything else, the risk is quite low. --- perl5/Makefile.dist Tue Jul 8 20:39:00 2003 +++ perl5/Makefile Tue Jul 8 20:40:33 2003 @@ -130,7 +130,7 @@ @${LN} -fs ${PREFIX}/bin/perl${JPERL_VERSION} ${PREFIX}/bin/jperl${JPERL_VERSION} @${LN} -fs ${PREFIX}/bin/sperl${JPERL_VERSION} ${PREFIX}/bin/suidperl @${LN} -fs ${PREFIX}/bin/sperl${JPERL_VERSION} ${PREFIX}/bin/jsuidperl - @${LN} -fs ${PREFIX}/lib/perl5/${JPERL_VERSION}/i386-freebsd/CORE/libperl.so.${PERL_SHLIBVER} ${PREFIX}/lib/perl5/${JPERL_VERSION}/i386-freebsd/CORE/libperl.so + @${LN} -fs ${PREFIX}/lib/perl5/${JPERL_VERSION}/${MACHINE_ARCH}-freebsd/CORE/libperl.so.${PERL_SHLIBVER} ${PREFIX}/lib/perl5/${JPERL_VERSION}/${MACHINE_ARCH}-freebsd/CORE/libperl.so @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307090227.h692Rl7J042410>