Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 21:23:18 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364667 - head/german/BBBike
Message-ID:  <53e93446.2f33.7cede91d@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Aug 11 21:23:18 2014
New Revision: 364667
URL: http://svnweb.freebsd.org/changeset/ports/364667
QAT: https://qat.redports.org/buildarchive/r364667/

Log:
  german/BBBike: Clear up build warnings caused by early shell command
  
  PR:		190667
  Reported by:	Sean Bruno
  Submitted by:	eserte12 (yahoo.de)
  Approved by:	Just Fix It

Modified:
  head/german/BBBike/Makefile

Modified: head/german/BBBike/Makefile
==============================================================================
--- head/german/BBBike/Makefile	Mon Aug 11 21:18:45 2014	(r364666)
+++ head/german/BBBike/Makefile	Mon Aug 11 21:23:18 2014	(r364667)
@@ -13,7 +13,7 @@ COMMENT=	Route-finder for cyclists in Be
 BUILD_DEPENDS=	p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \
 		p5-CDB_File>=0:${PORTSDIR}/databases/p5-CDB_File
 RUN_DEPENDS=	p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
-p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \
+		p5-Inline>=0:${PORTSDIR}/devel/p5-Inline \
 		p5-CDB_File>=0:${PORTSDIR}/databases/p5-CDB_File
 
 USES=		perl5
@@ -23,7 +23,14 @@ MYDESTDIR=	${STAGEDIR}${PREFIX}/BBBike
 
 .include <bsd.port.pre.mk>
 
+# The following != assignment will generate a warning
+# with portlint et al. Problem is that the nearest
+# replacements ${PERL_VER}/${PERL_ARCH} do not work here:
+# the value of PERL_ARCH is always "mach" on FreeBSD systems,
+# but $Config{archname} here is something like "amd64-freebsd"
+.if exists(${PERL5})
 LOCAL_PERL_ARCH!=	${PERL5} -MConfig -e '$$x = qq{$$Config{version}/$$Config{archname}}; $$x =~ s{/}{\\\\/}g; print $$x'
+.endif
 PLIST_SUB=		LOCAL_PERL_ARCH=${LOCAL_PERL_ARCH}
 BBBIKE_PERL_EXE=	bbbike cbbbike bbbikeclient cmdbbbike smsbbbike
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e93446.2f33.7cede91d>