summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2017-01-26 18:48:47 +0000
committerJohn Marino <marino@FreeBSD.org>2017-01-26 18:48:47 +0000
commit4b7cc7c99fc4fcd4e235f02145ddee503bfa864e (patch)
tree37997ff35bee6ddbace2cc7fca096af933f657f9
parentx11-wm/rubygem-uh-wm: create port (diff)
lang/pocl: Fix PLIST for non-FreeBSD platforms
no-op for FreeBSD, it just removes hardcoding from pkg-plist Approved by: just-fix-it
-rw-r--r--lang/pocl/Makefile1
-rw-r--r--lang/pocl/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/lang/pocl/Makefile b/lang/pocl/Makefile
index 8e01da317f1f..f17b193d83ca 100644
--- a/lang/pocl/Makefile
+++ b/lang/pocl/Makefile
@@ -40,6 +40,7 @@ CONFIGURE_ENV= LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" \
CLANGXX_FLAGS=-std=gnu++11
# needed for the libltdl configure check
LDFLAGS+= -L${LOCALBASE}/lib
+PLIST_SUB= OPSYS=${OPSYS:tl} ARCH=${ARCH}
ALL_TARGET= all
diff --git a/lang/pocl/pkg-plist b/lang/pocl/pkg-plist
index 5d52cde5f1aa..ab25e32ad3bd 100644
--- a/lang/pocl/pkg-plist
+++ b/lang/pocl/pkg-plist
@@ -24,4 +24,4 @@ libdata/pkgconfig/pocl.pc
%%DATADIR%%/include/pocl_device.h
%%DATADIR%%/include/pocl_tests.h
%%DATADIR%%/include/pocl_types.h
-%%DATADIR%%/kernel-amd64-portbld-freebsd%%OSREL%%.bc
+%%DATADIR%%/kernel-%%ARCH%%-portbld-%%OPSYS%%%%OSREL%%.bc