svn commit: r520179 - in head/games/lwjgl: . files
Li-Wen Hsu
lwhsu at FreeBSD.org
Sun Dec 15 14:55:35 UTC 2019
Author: lwhsu
Date: Sun Dec 15 14:55:33 2019
New Revision: 520179
URL: https://svnweb.freebsd.org/changeset/ports/520179
Log:
- Update to latest snapshot
PR: 239415
Submitted by: voidanix <voidanix at 420blaze.it>
Differential Revision: https://reviews.freebsd.org/D21045
Modified:
head/games/lwjgl/Makefile
head/games/lwjgl/distinfo
head/games/lwjgl/files/patch-platform_build__bsd_ant__build.xml
head/games/lwjgl/pkg-descr
Modified: head/games/lwjgl/Makefile
==============================================================================
--- head/games/lwjgl/Makefile Sun Dec 15 13:15:25 2019 (r520178)
+++ head/games/lwjgl/Makefile Sun Dec 15 14:55:33 2019 (r520179)
@@ -2,11 +2,8 @@
# $FreeBSD$
PORTNAME= lwjgl
-DISTVERSION= 2.9.3
+DISTVERSION= 2.9.4.20161208
CATEGORIES= games java
-MASTER_SITES= SF/java-game-lib/Official%20Releases/${PORTNAME:tu}%20${PORTVERSION}/
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
- ${PORTNAME}-source-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= freebsd at skinc.ru
COMMENT= Lightweight Java Game Library
@@ -14,43 +11,39 @@ COMMENT= Lightweight Java Game Library
LICENSE= BSD3CLAUSE
ONLY_FOR_ARCHS= amd64 i386 powerpc64
-.if ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld
-BROKEN_i386= ld: error: can't create dynamic relocation R_386_32 against local symbol in readonly segment
-.endif
-BUILD_DEPENDS= ${JAVALIBDIR}/jutils/jutils.jar:games/jutils \
- ${JAVALIBDIR}/jinput/jinput.jar:games/jinput
+BUILD_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils \
+ ${JAVAJARDIR}/jinput/jinput.jar:games/jinput
RUN_DEPENDS:= ${BUILD_DEPENDS}
-WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
-EXTRACT_AFTER_ARGS= -d ${WRKSRC}
+USES= dos2unix xorg
+USE_GITHUB= yes
+GH_ACCOUNT= LWJGL
+GH_TAGNAME= 2df01dd
-USES= dos2unix zip xorg
-DOS2UNIX_REGEX= .*.[^jp][^an][^rg]$
+DOS2UNIX_REGEX= .*.[^jp][^an][^rg]$
USE_JAVA= yes
USE_LDCONFIG= yes
-JAVA_OS= native
-JAVA_VENDOR= openjdk
USE_ANT= yes
USE_XORG= xcursor xrandr xxf86vm
-MAKE_ENV+= CLASSPATH=${JAVALIBDIR}/jutils/jutils.jar:${JAVALIBDIR}/jinput/jinput.jar:${WRKSRC}/${DISTNAME}/jar/
+MAKE_ENV+= CLASSPATH=${JAVAJARDIR}/jutils/jutils.jar:${JAVAJARDIR}/jinput/jinput.jar:${WRKSRC}/${DISTNAME}/jar/
ALL_TARGET= jars compile_native
-PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}.jar \
- %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}_test.jar \
- %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}_util.jar \
- %%JAVAJARDIR%%/${PORTNAME}/${PORTNAME}_util_applet.jar
-PLIST_DIRS= %%JAVAJARDIR%%/${PORTNAME} \
- lib/${PORTNAME}${PORTVERSION}
+PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar \
+ ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}_test.jar \
+ ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}_util.jar \
+ ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}_util_applet.jar
+PLIST_DIRS= ${JAVAJARDIR}/${PORTNAME} \
+ lib/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${ARCH} == i386
-PLIST_FILES+= lib/${PORTNAME}${PORTVERSION}/lib${PORTNAME}.so
+PLIST_FILES+= lib/${PORTNAME}/lib${PORTNAME}.so
.endif
.if ${ARCH} == amd64 || ${ARCH} == powerpc64
-PLIST_FILES+= lib/${PORTNAME}${PORTVERSION}/lib${PORTNAME}64.so
+PLIST_FILES+= lib/${PORTNAME}/lib${PORTNAME}64.so
.endif
.if ${ARCH} == powerpc64
@@ -72,14 +65,14 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/libs/${_jar:T} \
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}
.endfor
- @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PORTVERSION}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
.if ${ARCH} == i386
${INSTALL_DATA} ${WRKSRC}/libs/freebsd/lib${PORTNAME}.so \
- ${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PORTVERSION}
+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
.endif
.if ${ARCH} == amd64 || ${ARCH} == powerpc64
${INSTALL_DATA} ${WRKSRC}/libs/freebsd/lib${PORTNAME}64.so \
- ${STAGEDIR}${PREFIX}/lib/${PORTNAME}${PORTVERSION}
+ ${STAGEDIR}${PREFIX}/lib/${PORTNAME}
.endif
.include <bsd.port.post.mk>
Modified: head/games/lwjgl/distinfo
==============================================================================
--- head/games/lwjgl/distinfo Sun Dec 15 13:15:25 2019 (r520178)
+++ head/games/lwjgl/distinfo Sun Dec 15 14:55:33 2019 (r520179)
@@ -1,4 +1,3 @@
-SHA256 (lwjgl-2.9.3.zip) = 4354432ca5da11d3ec57a09228918b995f3de2761c975e68fa27a5fe0fb62f4c
-SIZE (lwjgl-2.9.3.zip) = 7805314
-SHA256 (lwjgl-source-2.9.3.zip) = 098696a3752321979e6b1dc798c694d4d3daf64a71217ee8d7b04123b5b18a5a
-SIZE (lwjgl-source-2.9.3.zip) = 3183783
+TIMESTAMP = 1576013211
+SHA256 (LWJGL-lwjgl-2.9.4.20161208-2df01dd_GH0.tar.gz) = a4d03e9244a9e253abcfe7ee75d4413bd3db1fd8c38e67eedbd0c6c313c4e504
+SIZE (LWJGL-lwjgl-2.9.4.20161208-2df01dd_GH0.tar.gz) = 15052370
Modified: head/games/lwjgl/files/patch-platform_build__bsd_ant__build.xml
==============================================================================
--- head/games/lwjgl/files/patch-platform_build__bsd_ant__build.xml Sun Dec 15 13:15:25 2019 (r520178)
+++ head/games/lwjgl/files/patch-platform_build__bsd_ant__build.xml Sun Dec 15 14:55:33 2019 (r520179)
@@ -1,6 +1,5 @@
---- platform_build/bsd_ant/build.xml.orig 2015-12-19 18:22:18 UTC
+--- platform_build/bsd_ant/build.xml.orig 2019-12-10 20:24:26
+++ platform_build/bsd_ant/build.xml
-
@@ -4,8 +4,8 @@
<property name="native" location="../../src/native"/>
<property name="libname32" value="liblwjgl.so"/>
@@ -12,3 +11,12 @@
<property name="cflags32" value="-O2 -Wall -c -fPIC -std=c99 -Wunused"/>
<target name="clean">
+@@ -39,7 +39,7 @@
+ <os name="SunOS" />
+ </condition>
+
+- <property name="linker_flags32" value="${version_script_flags32} -shared -O2 -Wall -o ${libname32} ${libs32} ${xf86vm_lib}"/>
++ <property name="linker_flags32" value="${version_script_flags32} -shared -O2 -Wall -z notext -o ${libname32} ${libs32} ${xf86vm_lib}"/>
+ <property name="linker_flags64" value="${version_script_flags64} -shared -O2 -Wall -o ${libname64} ${libs64} ${xf86vm_lib}"/>
+
+ <condition property="build.32bit.only">
Modified: head/games/lwjgl/pkg-descr
==============================================================================
--- head/games/lwjgl/pkg-descr Sun Dec 15 13:15:25 2019 (r520178)
+++ head/games/lwjgl/pkg-descr Sun Dec 15 14:55:33 2019 (r520179)
@@ -1,3 +1,3 @@
The Lightweight Java Game Library
-WWW: http://www.lwjgl.org
+WWW: http://legacy.lwjgl.org
More information about the svn-ports-all
mailing list