1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/games/excido/Makefile
Tobias Kortkamp d86a7d6a50 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
2018-07-20 11:16:01 +00:00

37 lines
836 B
Makefile

# Created by: Alejandro Pulver <alejandro@varnet.biz>
# $FreeBSD$
PORTNAME= excido
PORTVERSION= 0.1.5c
PORTREVISION= 16
CATEGORIES= games
MASTER_SITES= https://icculus.org/${PORTNAME}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Portable fast-paced 3D shooter
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libphysfs.so:devel/physfs
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= gmake openal:al,alut tar:bzip2
USE_GL= gl glu
USE_SDL= image sdl ttf
LLD_UNSAFE= yes
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/excido ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/data ; ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>