svn commit: r475004 - in head/games/excido: . files

Tobias Kortkamp tobik at FreeBSD.org
Fri Jul 20 11:16:03 UTC 2018


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)


More information about the svn-ports-head mailing list