Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2018 12:17:32 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r475008 - in head/games/freedoko: . files
Message-ID:  <201807201217.w6KCHWln035633@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Jul 20 12:17:32 2018
New Revision: 475008
URL: https://svnweb.freebsd.org/changeset/ports/475008

Log:
  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

Added:
  head/games/freedoko/files/
  head/games/freedoko/files/patch-Makefile   (contents, props changed)
Modified:
  head/games/freedoko/Makefile

Modified: head/games/freedoko/Makefile
==============================================================================
--- head/games/freedoko/Makefile	Fri Jul 20 11:57:29 2018	(r475007)
+++ head/games/freedoko/Makefile	Fri Jul 20 12:17:32 2018	(r475008)
@@ -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

Added: head/games/freedoko/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/freedoko/files/patch-Makefile	Fri Jul 20 12:17:32 2018	(r475008)
@@ -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"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807201217.w6KCHWln035633>