Date: Sun, 6 Jan 2013 02:34:01 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/175012: emulators/prodosemu: Fix build with clang Message-ID: <20130106023401.f7b8708f369cf94d0ed6ef4d@yahoo.com> Resent-Message-ID: <201301051810.r05IA1oA001405@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175012 >Category: ports >Synopsis: emulators/prodosemu: Fix build with clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 18:10:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.4-RELEASE-p10 i386 >Organization: >Environment: >Description: - Fix build with clang - Add MAKE_JOBS_SAFE >How-To-Repeat: >Fix: diff -urN /usr/ports/emulators/prodosemu/Makefile emulators/prodosemu/Makefile --- /usr/ports/emulators/prodosemu/Makefile 2012-11-08 10:16:39.000000000 +0900 +++ emulators/prodosemu/Makefile 2013-01-05 22:54:24.000000000 +0900 @@ -1,9 +1,5 @@ -# New ports collection makefile for: prodosemu -# Date created: 18th February 1997 -# Whom: Joel Sutton <sutton@aardvark.apana.org.au> -# +# Created by: Joel Sutton <sutton@aardvark.apana.org.au> # $FreeBSD: head/emulators/prodosemu/Makefile 300896 2012-07-14 13:54:48Z beat $ -# PORTNAME= prodosemu PORTVERSION= 0.1 @@ -12,22 +8,24 @@ DISTNAME= ${PORTNAME}.v${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= A text based Apple IIe ProDOS emulator +COMMENT= Text based Apple IIe ProDOS emulator RESTRICTED= apple.rom copyright is owned by Apple and cannot be distributed. + WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION} +MAKE_JOBS_SAFE= yes + +PORTDOCS= README PLIST_FILES= bin/prodos share/apple2/prodos-2e.rom PLIST_DIRS= share/apple2 -.if !defined(NOPORTDOCS) -PORTDOCS= README -.endif +.include <bsd.port.options.mk> post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR}) .endif .include <bsd.port.mk> diff -urN /usr/ports/emulators/prodosemu/files/patch-ac emulators/prodosemu/files/patch-ac --- /usr/ports/emulators/prodosemu/files/patch-ac 2012-11-08 10:16:38.000000000 +0900 +++ emulators/prodosemu/files/patch-ac 2012-10-24 02:10:48.000000000 +0900 @@ -12,3 +12,12 @@ extern char prodosroot[]; +@@ -24,7 +28,7 @@ + exit (1); + } + +-void main (int argc,char **argv) ++int main (int argc,char **argv) + { + short int byte; + int i, addr; /* Loop iterators */ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130106023401.f7b8708f369cf94d0ed6ef4d>