Files
ports/audio/libadplug/Makefile
T
Piotr Kubaj 12a4b55f68 audio/ocp: fix build on powerpc64 with gcc
GCC is still used on stable/11 and stable/12. It needs sys/types.h in lzh.h, because some types are not recognized.

Force newer compiler due to:
pfilesel.c:3312: error: #pragma GCC diagnostic not allowed inside functions

Because of libstdc++ ABI changes due to forcing new compiler, audio/libadplug and devel/libbinio in order for audio/ocp to build.

PR:		247377
Approved by:	ehaupt (maintainer)
2020-06-18 15:41:32 +00:00

32 lines
615 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
# $FreeBSD$
PORTNAME= adplug
PORTVERSION= 2.3.3
DISTVERSIONPREFIX= ${PORTNAME}-
CATEGORIES= audio
PKGNAMEPREFIX= lib
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= AdLib emulator library supporting many formats
LICENSE= GPLv2
LIB_DEPENDS= libbinio.so:devel/libbinio
USES= autoreconf compiler:c++11-lang libtool makeinfo pathfix \
pkgconfig
USE_CSTD= gnu89
USE_GITHUB= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-maintainer-mode
INSTALL_TARGET= install-strip
INFO= libadplug
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.include <bsd.port.mk>