Bug 175012 - emulators/prodosemu: Fix build with clang
Summary: emulators/prodosemu: Fix build with clang
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcelo Araujo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-05 18:10 UTC by tkato432
Modified: 2013-02-04 09:00 UTC (History)
0 users

See Also:


Attachments
file.diff (1.77 KB, patch)
2013-01-05 18:10 UTC, tkato432
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tkato432 2013-01-05 18:10:01 UTC
- Fix build with clang
- Add MAKE_JOBS_SAFE
Comment 1 Marcelo Araujo freebsd_committer freebsd_triage 2013-01-18 06:08:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->araujo

I'll take it.
Comment 2 Marcelo Araujo freebsd_committer freebsd_triage 2013-02-04 08:50:22 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-02-04 08:50:27 UTC
Author: araujo
Date: Mon Feb  4 08:50:18 2013
New Revision: 311583
URL: http://svnweb.freebsd.org/changeset/ports/311583

Log:
  - Fix build using CLANG.
  - Add MAKE_JOBS_SAFE.
  
  PR:		ports/175012
  Submitted by:	KATO Tsuguru <tkato432@yahoo.com>

Modified:
  head/emulators/prodosemu/Makefile   (contents, props changed)
  head/emulators/prodosemu/files/patch-ac   (contents, props changed)

Modified: head/emulators/prodosemu/Makefile
==============================================================================
--- head/emulators/prodosemu/Makefile	Mon Feb  4 08:49:11 2013	(r311582)
+++ head/emulators/prodosemu/Makefile	Mon Feb  4 08:50:18 2013	(r311583)
@@ -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$
-#
 
 PORTNAME=	prodosemu
 PORTVERSION=	0.1
@@ -12,20 +8,22 @@ MASTER_SITES=	http://mirrors.apple2.org.
 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}
 .endif

Modified: head/emulators/prodosemu/files/patch-ac
==============================================================================
--- head/emulators/prodosemu/files/patch-ac	Mon Feb  4 08:49:11 2013	(r311582)
+++ head/emulators/prodosemu/files/patch-ac	Mon Feb  4 08:50:18 2013	(r311583)
@@ -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 */
\ No newline at end of file
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"