mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Fix build on 64-bit archs.
This commit is contained in:
parent
cf6a764922
commit
2a9e77de6a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224939
@ -22,12 +22,18 @@ JAVA_OS= native
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET= release
|
||||
|
||||
WRKSRC= ${WRKDIR}/native/platforms/linux
|
||||
|
||||
PLIST_FILES= lib/libpkcs11wrapper.so %%JAVAJARDIR%%/iaikPkcs11Wrapper.jar
|
||||
|
||||
PORTDOCS= *
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
||||
WRKSRC= ${WRKDIR}/native/platforms/linux_x64
|
||||
.else
|
||||
WRKSRC= ${WRKDIR}/native/platforms/linux
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
@${ECHO_MSG} -n ">> Installing JNI library in ${PREFIX}/lib..."
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/release/libpkcs11wrapper.so ${PREFIX}/lib/
|
||||
@ -45,4 +51,4 @@ do-install:
|
||||
@${ECHO_MSG} " [ DONE ]"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user