ports/170144: devel/jwasm: Update to version 207
KATO Tsuguru
tkato432 at yahoo.com
Wed Jul 25 18:10:11 UTC 2012
>Number: 170144
>Category: ports
>Synopsis: devel/jwasm: Update to version 207
>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: Wed Jul 25 18:10:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: KATO Tsuguru
>Release: FreeBSD 7.4-RELEASE-p9 i386
>Organization:
>Environment:
>Description:
- Update to version 207
Remove file:
files/patch-GccUnix.mak
>How-To-Repeat:
>Fix:
diff -urN /usr/ports/devel/jwasm/Makefile devel/jwasm/Makefile
--- /usr/ports/devel/jwasm/Makefile 2011-07-25 10:05:57.000000000 +0900
+++ devel/jwasm/Makefile 2012-07-24 02:27:00.000000000 +0900
@@ -6,7 +6,7 @@
#
PORTNAME= jwasm
-PORTVERSION= 206
+PORTVERSION= 207
CATEGORIES= devel
MASTER_SITES= http://www.japheth.de/Download/JWasm/
DISTNAME= JWasm${PORTVERSION}s
@@ -14,19 +14,36 @@
MAINTAINER= ports at FreeBSD.org
COMMENT= Fork of OpenWatcom's x86 assembler with AMD64 support
+OPTIONS_DEFINE= DOCS
+
ONLY_FOR_ARCHS= amd64 i386
+NO_WRKSUBDIR= yes
+
USE_ZIP= yes
+USE_DOS2UNIX= yes
USE_GMAKE= yes
MAKEFILE= GccUnix.mak
-NO_WRKSUBDIR= yes
-EXTRACT_BEFORE_ARGS= -qa
+MAKE_JOBS_SAFE= yes
+
+PORTDOCS= *
+PLIST_FILES= bin/jwasm
+
+.include <bsd.port.options.mk>
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ '/^extra_c_flags/s|-O2|$$(CFLAGS)| ; \
+ /^CC/s| =| ?=| ; \
+ s|-s -o|-o|' ${WRKSRC}/GccUnix.mak
+ @${REINPLACE_CMD} -e \
+ '/v2.07/s|<malloc.h>|<stdlib.h>|' ${WRKSRC}/H/memalloc.h
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/GccUnixR/jwasm ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
+ ${INSTALL_PROGRAM} ${WRKSRC}/GccUnixR/jwasm ${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
@${GZIP_CMD} ${DOCSDIR}/*.txt
.endif
diff -urN /usr/ports/devel/jwasm/distinfo devel/jwasm/distinfo
--- /usr/ports/devel/jwasm/distinfo 2011-07-25 10:05:57.000000000 +0900
+++ devel/jwasm/distinfo 2012-07-08 03:50:43.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (JWasm206s.zip) = bf3c03a546396dc25cf33fab4c31a7197be6651b75f4c6679727c391db7374c7
-SIZE (JWasm206s.zip) = 763604
+SHA256 (JWasm207s.zip) = e2fd32cecee0113809352f5f260a077276fbf8b50f1894f006a5f401e2cae766
+SIZE (JWasm207s.zip) = 806001
diff -urN /usr/ports/devel/jwasm/files/patch-GccUnix.mak devel/jwasm/files/patch-GccUnix.mak
--- /usr/ports/devel/jwasm/files/patch-GccUnix.mak 2010-12-17 23:07:17.000000000 +0900
+++ devel/jwasm/files/patch-GccUnix.mak 1970-01-01 09:00:00.000000000 +0900
@@ -1,20 +0,0 @@
---- GccUnix.mak.orig 2009-06-07 14:07:37.000000000 -0500
-+++ GccUnix.mak 2009-06-07 14:09:18.000000000 -0500
-@@ -14,7 +14,7 @@
- #cflags stuff
-
- ifeq ($(DEBUG),0)
--extra_c_flags = -DNDEBUG -O2
-+extra_c_flags = -DNDEBUG ${CFLAGS}
- OUTD=GccUnixR
- else
- extra_c_flags = -DDEBUG_OUT -g
-@@ -23,7 +23,7 @@
-
- c_flags =-D__UNIX__ $(extra_c_flags)
-
--CC = gcc
-+#CC = cc
-
- .SUFFIXES:
- .SUFFIXES: .c .o
diff -urN /usr/ports/devel/jwasm/pkg-descr devel/jwasm/pkg-descr
--- /usr/ports/devel/jwasm/pkg-descr 2010-12-17 23:07:17.000000000 +0900
+++ devel/jwasm/pkg-descr 2012-07-08 03:47:02.000000000 +0900
@@ -6,14 +6,14 @@
JWasm Features:
- JWasm natively supports output formats Intel OMF, MS Coff (32- and
-64-bit), Elf (32-and 64-bit), Bin and DOS MZ.
+ 64-bit), Elf (32- and 64-bit), Bin and DOS MZ.
- precompiled JWasm binaries are available for DOS, Windows and Linux. For
-OS/2 and FreeBSD, makefiles are supplied.
+ OS/2 and FreeBSD, makefiles are supplied.
- Instructions up to SSSE3 are supported.
- The JWasm source is portable and has successfully been tested with Open
-Watcom, MS VC, GCC and more.
+ Watcom, MS VC, GCC and more.
- As far as programming for Windows is concerned, JWasm can be used with
-both Win32Inc and Masm32.
+ both Win32Inc and Masm32.
- C header files can be converted to include files for JWasm with h2incX.
WWW: http://www.japheth.de/JWasm.html
diff -urN /usr/ports/devel/jwasm/pkg-plist devel/jwasm/pkg-plist
--- /usr/ports/devel/jwasm/pkg-plist 2010-12-17 23:07:17.000000000 +0900
+++ devel/jwasm/pkg-plist 1970-01-01 09:00:00.000000000 +0900
@@ -1,7 +0,0 @@
- at comment $FreeBSD: ports/devel/jwasm/pkg-plist,v 1.1 2010/12/17 14:07:17 nivit Exp $
-bin/jwasm
-%%PORTDOCS%%%%DOCSDIR%%/History.txt.gz
-%%PORTDOCS%%%%DOCSDIR%%/License.txt.gz
-%%PORTDOCS%%%%DOCSDIR%%/Manual.txt.gz
-%%PORTDOCS%%%%DOCSDIR%%/Readme.txt.gz
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list