ports/81086: [PATCH] java/jad: allow installation on amd64

Alex Varju freebsd-ports at varju.ca
Mon May 16 00:20:06 UTC 2005


>Number:         81086
>Category:       ports
>Synopsis:       [PATCH] java/jad: allow installation on amd64
>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:   Mon May 16 00:20:01 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Alex Varju
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
>Environment:
System: FreeBSD snapple.webct.com 5.3-STABLE FreeBSD 5.3-STABLE #13: Wed Nov  3 11:31:28 PST
>Description:
Jad uses an i386 binary internally, but because it is statically linked, it
appears to work fine on AMD64.  Allow installation on this platform.

Minor portlint cleanups done, too.

Removed file(s):
- pkg-plist

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- jad-1.5.8c.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/freebsd/cvsroot/ports/java/jad/Makefile,v
retrieving revision 1.13
diff -u -u -r1.13 Makefile
--- Makefile	3 Dec 2004 01:01:16 -0000	1.13
+++ Makefile	16 May 2005 00:09:05 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	jad
 PORTVERSION=	1.5.8c
-CATEGORIES=	java
+CATEGORIES=	java devel
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	znerd
 DISTNAME=	jadfb158
@@ -19,9 +19,15 @@
 NO_WRKSUBDIR=	yes
 NO_BUILD=	yes
 
+PLIST_FILES=	bin/jad
+
+.if !defined(NOPORTDOCS)
+PORTDOCS=	Readme.txt
+.endif
+
 .include <bsd.port.pre.mk>
 
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/jad ${PREFIX}/bin/
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	15 Apr 2001 15:03:17 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,3 +0,0 @@
-bin/jad
-%%PORTDOCS%%share/doc/jad/Readme.txt
-%%PORTDOCS%%@dirrm share/doc/jad
--- jad-1.5.8c.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list