diff options
author | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-10-30 22:38:59 +0000 |
---|---|---|
committer | Vladimir Druzenko <vvd@FreeBSD.org> | 2024-10-30 22:38:59 +0000 |
commit | 58566c547fc5d0c69277fc5b1049697a644c0b36 (patch) | |
tree | 5c7d987f19593366de0f967ebdad8d5027adb8f3 | |
parent | a5d92b0f75ff9acf57ca469156e7dd3471009139 (diff) |
java/eclipse: Fix build: ld: error: unable to find library -lGLU
[INFO] [exec] cc -shared -fPIC -L`pkg-config --variable=prefix gtk+-3.0`/lib -s -o libswt-glx-gtk-4966r5.so swt.o glx.o glx_structs.o glx_stats.o -lGL -lGLU -lm
[INFO] [exec] gmake[1]: Leaving directory '/wrkdirs/usr/ports/java/eclipse/work/eclipse.platform.releng.aggregator-R4_33_maintenance/eclipse.platform.swt/binaries/org.eclipse.swt.gtk.freebsd.x86_64/target/natives-build-temp'
[INFO] [exec] *** GTK3 Build failed, aborting further actions..
[INFO] [exec] ld: error: unable to find library -lGLU
[INFO] [exec] cc: error: linker command failed with exit code 1 (use -v to see invocation)
[INFO] [exec] gmake[1]: *** [make_unix.mak:245: libswt-glx-gtk-4966r5.so] Error 1
PR: 282382
Approved by: Norbert Grundmann <ngrundmann@gmx.de> (maintainer)
MFH: 2024Q4
-rw-r--r-- | java/eclipse/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile index e32d6b0ec432..93154d88e3b7 100644 --- a/java/eclipse/Makefile +++ b/java/eclipse/Makefile @@ -20,7 +20,7 @@ BUILD_DEPENDS= git:devel/git \ LIB_DEPENDS= libsecret-1.so:security/libsecret \ libwebkit2gtk-4.0.so:www/webkit2-gtk3 -USES= compiler:c++17-lang gmake pkgconfig gnome +USES= compiler:c++17-lang gl gmake pkgconfig gnome # The github repositories. The repository under NorbertXYZ is for a predefined maven # download, so the build does not need to download while do-build is running @@ -39,6 +39,7 @@ GH_TUPLE= chirontt:eclipse.platform.releng.aggregator:${ECLIPSE_TAG}_maintenance chirontt:equinox.binaries:${ECLIPSE_TAG}_maintenance:l/equinox.binaries \ chirontt:p2:${ECLIPSE_TAG}_maintenance:m/equinox.p2 \ NorbertXYZ:eclipse_maven:${DISTVERSION}:n +USE_GL= gl glu USE_GNOME= gtk30 USE_JAVA= 17+ |