PERFORCE change 103582 for review

Gabor Kovesdan gabor at FreeBSD.org
Thu Aug 10 17:09:52 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=103582

Change 103582 by gabor at 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}


More information about the p4-projects mailing list