diff options
author | John Marino <marino@FreeBSD.org> | 2017-01-26 18:48:47 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2017-01-26 18:48:47 +0000 |
commit | 4b7cc7c99fc4fcd4e235f02145ddee503bfa864e (patch) | |
tree | 37997ff35bee6ddbace2cc7fca096af933f657f9 /lang/pocl | |
parent | x11-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
Diffstat (limited to 'lang/pocl')
-rw-r--r-- | lang/pocl/Makefile | 1 | ||||
-rw-r--r-- | lang/pocl/pkg-plist | 2 |
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 |