aboutsummaryrefslogtreecommitdiffstats
path: root/games/freedoko
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-07-20 20:17:32 +0800
committertobik <tobik@FreeBSD.org>2018-07-20 20:17:32 +0800
commit9cc906502115068f3180bdc6af7d5431fe7fc32d (patch)
tree0908e774fecaebe45200a917f9288d0a02979585 /games/freedoko
parent276368ed8c2c2db9849d69d297384444fa4a4167 (diff)
downloadfreebsd-ports-gnome-9cc906502115068f3180bdc6af7d5431fe7fc32d.tar.gz
freebsd-ports-gnome-9cc906502115068f3180bdc6af7d5431fe7fc32d.tar.zst
freebsd-ports-gnome-9cc906502115068f3180bdc6af7d5431fe7fc32d.zip
games/freedoko: Respect LDFLAGS and mark LLD_UNSAFE
/usr/bin/ld: error: cannot preempt symbol: alDeleteSources >>> defined in /usr/local/lib/libopenal.so >>> referenced by alut.cpp >>> ./sound/alut.o:(Sound::Alut::~Alut()) http://beefy12.nyi.freebsd.org/data/head-amd64-default/p474767_s336359/logs/freedoko-0.7.16.log PR: 226980 Reported by: emaste, pkg-fallout
Diffstat (limited to 'games/freedoko')
-rw-r--r--games/freedoko/Makefile1
-rw-r--r--games/freedoko/files/patch-Makefile10
2 files changed, 11 insertions, 0 deletions
diff --git a/games/freedoko/Makefile b/games/freedoko/Makefile
index f57d4fd7ab3b..3999cef6940d 100644
--- a/games/freedoko/Makefile
+++ b/games/freedoko/Makefile
@@ -18,6 +18,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME:C/\.src$//}/src
USES= compiler:c++14-lang gmake pkgconfig zip:infozip
USE_CXXSTD= c++14
USE_GNOME= gtkmm30
+LLD_UNSAFE= yes
MAKE_ENV= OS="${OPSYS}" DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
OPTIONS_DEFINE= DOCS NETWORK OPENAL
diff --git a/games/freedoko/files/patch-Makefile b/games/freedoko/files/patch-Makefile
new file mode 100644
index 000000000000..0506c2e82707
--- /dev/null
+++ b/games/freedoko/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig 2018-07-20 12:04:04 UTC
++++ Makefile
+@@ -252,6 +252,7 @@ $(PROGRAM) : show_settings objects $(DIRECTORIES)
+ $(INCLUDE_ALL) \
+ $(LIBS_ALL) \
+ $(CXXFLAGS) \
++ $(LDFLAGS) \
+ -o $@
+ @echo "$(PROGRAM) compiled successfully"
+