aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-08-11 21:23:18 +0000
committerJohn Marino <marino@FreeBSD.org>2014-08-11 21:23:18 +0000
commit60470628e87d2c8d57e4d6cf4c31964c48b81b9e (patch)
tree6c6f61777e8d237f15ba87b1f348ab50e54439ce /german
parent9a2165c12a0a0dac4a6d4f8990f02b1603d1918b (diff)
downloadports-60470628e87d2c8d57e4d6cf4c31964c48b81b9e.tar.gz
ports-60470628e87d2c8d57e4d6cf4c31964c48b81b9e.zip
Notes
Diffstat (limited to 'german')
-rw-r--r--german/BBBike/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/german/BBBike/Makefile b/german/BBBike/Makefile
index dbe0bd8faa94..135848c7fb1d 100644
--- a/german/BBBike/Makefile
+++ b/german/BBBike/Makefile
@@ -13,7 +13,7 @@ COMMENT= Route-finder for cyclists in Berlin and Brandenburg
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