mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
29a23b8db4
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
29 lines
688 B
Makefile
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>
|