1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/audio/freealut/Makefile
Tobias Kortkamp 29a23b8db4 Clean up LLD_UNSAFE from openal-soft ports
After FreeBSD 12.0 EOL we no longer have to worry about LLD 6 and
can drop LLD_UNSAFE from openal-soft ports.  LLD can link them fine
now but some ports needs a little help on i386 (-Wl,-znotext).

PR:		226980
Reviewed by:	jbeich (earlier version)
Differential Revision:	https://reviews.freebsd.org/D23030
2020-03-19 23:02:30 +00:00

29 lines
688 B
Makefile

# Created by: Oliver Lehmann <oliver@FreeBSD.org>
# $FreeBSD$
PORTNAME= freealut
PORTVERSION= 1.1.0
PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= DEBIAN_POOL
DISTNAME= freealut_${PORTVERSION}.orig
MAINTAINER= oliver@FreeBSD.org
COMMENT= The OpenAL Utility Toolkit
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake libtool openal:al pathfix pkgconfig
USE_LDCONFIG= yes
LDFLAGS_i386= -Wl,-znotext
INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e 's/@CFLAGS@/& -lopenal -lpthread/g' \
${WRKSRC}/examples/Makefile.in \
${WRKSRC}/test_suite/Makefile.in
.include <bsd.port.mk>