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