1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/audio/HVSC-Update/Makefile
Tobias Kortkamp 4b6cea7770 audio/HVSC-Update: Fix build with Clang 6
The configure check for ios::binary fails with

/usr/include/stdlib.h:97:1: error: function declared '[[noreturn]]' after its first declaration
_Noreturn void   exit(int);
^
/usr/include/sys/cdefs.h:280:22: note: expanded from macro '_Noreturn'
#define _Noreturn               [[noreturn]]
                                  ^
conftest.cc:9:6: note: declaration missing '[[noreturn]]' attribute is here
void exit (int);
     ^

which leads to the build falling back to using ios::bin due to
having HAVE_IOS_BIN defined.

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/HVSC-Update-2.8.7.log
2018-08-01 06:16:52 +00:00

35 lines
885 B
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= HVSC-Update
PORTVERSION= 2.8.7
CATEGORIES= audio emulators
MASTER_SITES= http://www.hvsc.c64.org/download/files/tools/
DISTNAME= ${PORTNAME:S/-/_/}_Tool_source_${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
COMMENT= Update program for the HVSC C= 64 SID tune collection
BUILD_DEPENDS= makedepend:devel/makedepend
GNU_CONFIGURE= yes
USES= gmake
USE_CXXSTD= c++98
WRKSRC= ${WRKDIR}/${PORTNAME:S/-/_/}_Tool_${PORTVERSION:S/.//g}
PORTDOCS= HVS_file_format.txt HVSC_Update.txt SID_file_format.txt
PLIST_FILES= bin/${PORTNAME}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/Update ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>