Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2018 11:16:02 +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: r475004 - in head/games/excido: . files
Message-ID:  <201807201116.w6KBG2r8002138@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tobik
Date: Fri Jul 20 11:16:01 2018
New Revision: 475004
URL: https://svnweb.freebsd.org/changeset/ports/475004

Log:
  games/excido: Respect LDFLAGS and mark port as LLD_UNSAFE
  
  /usr/bin/ld: error: cannot preempt symbol: alListenerf
  >>> defined in /usr/local/lib/libopenal.so
  >>> referenced by SoundCore.cpp
  >>>               src/SoundCore.o:(SoundCore::SoundCore())
  
  http://beefy12.nyi.freebsd.org/data/head-amd64-default/p474767_s336359/logs/excido-0.1.5c_16.log
  
  - While here fix USE_GL usage
  
  PR:		226980
  Reported by:	emaste, pkg-fallout

Modified:
  head/games/excido/Makefile
  head/games/excido/files/patch-Makefile

Modified: head/games/excido/Makefile
==============================================================================
--- head/games/excido/Makefile	Fri Jul 20 11:02:47 2018	(r475003)
+++ head/games/excido/Makefile	Fri Jul 20 11:16:01 2018	(r475004)
@@ -18,9 +18,11 @@ LIB_DEPENDS=	libphysfs.so:devel/physfs
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-USE_GL=		yes
-USE_SDL=	image sdl ttf
 USES=		gmake openal:al,alut tar:bzip2
+USE_GL=		gl glu
+USE_SDL=	image sdl ttf
+
+LLD_UNSAFE=	yes
 
 OPTIONS_DEFINE=	DOCS
 

Modified: head/games/excido/files/patch-Makefile
==============================================================================
--- head/games/excido/files/patch-Makefile	Fri Jul 20 11:02:47 2018	(r475003)
+++ head/games/excido/files/patch-Makefile	Fri Jul 20 11:16:01 2018	(r475004)
@@ -24,7 +24,7 @@
  
  $(TARGET): $(OBJS)
 -	$(CC) $(CFLAGS) -o $(TARGET) $(LIBS) $(OBJS)
-+	$(CXX) $(CXXFLAGS) -o $(TARGET) $(LIBS) $(OBJS)
++	$(CXX) $(LDFLAGS) -o $(TARGET) $(LIBS) $(OBJS)
  
  clean:
  	rm -f $(OBJS) $(TARGET)



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