Date: Thu, 10 Aug 2006 17:09:51 GMT From: Gabor Kovesdan <gabor@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 103582 for review Message-ID: <200608101709.k7AH9p2w039164@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=103582 Change 103582 by gabor@gabor_spitfire on 2006/08/10 17:09:00 Introduce PERL_REL for a relative Perl path to hook up for PLIST_SUB as PERL. This is needed for some ports to respect DESTDIR, but the ports should be fixed as well. Suggested by: John E. Hein <jhein at timing dot com> Affected files ... .. //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#78 edit Differences ... ==== //depot/projects/soc2006/gabor_ports/Mk/bsd.port.mk#78 (text+ko) ==== @@ -1457,9 +1457,11 @@ .if ${PERL_LEVEL} < 500600 PERL5= ${DESTDIR}/usr/bin/perl${PERL_VERSION} PERL= ${DESTDIR}/usr/bin/perl +PERL_REL= /usr/bin/perl .else PERL5= ${LOCALBASE}/bin/perl${PERL_VERSION} PERL= ${LOCALBASE}/bin/perl +PERL_REL= ${LOCALBASE_REL}/bin/perl .endif .if defined(USE_LOCAL_MK) @@ -1936,7 +1938,8 @@ BUILD_DEPENDS+= bison:${PORTSDIR}/devel/bison .endif -PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \ +PLIST_SUB+= PERL=${PERL_REL} \ + PERL_VERSION=${PERL_VERSION} \ PERL_VER=${PERL_VER} \ PERL_ARCH=${PERL_ARCH} \ SITE_PERL=${SITE_PERL_REL}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608101709.k7AH9p2w039164>