1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

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
This commit is contained in:
Tobias Kortkamp 2018-07-20 11:16:01 +00:00
parent d4e3bee70c
commit d86a7d6a50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475004
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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)