ports/75594: print/acroread: add support for amd64

Conrad J. Sabatier conrads at cox.net
Wed Dec 29 03:40:20 UTC 2004


>Number:         75594
>Category:       ports
>Synopsis:       print/acroread: add support for 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:   Wed Dec 29 03:40:19 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier
>Release:        FreeBSD 6.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD dolphin.local.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: Tue Dec 21 07:31:28 CST 2004 conrads at dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM amd64


>Description:
	Allow print/acroread to build/install under amd64.
>How-To-Repeat:
	Current Makefile's ONLY_FOR_ARCHS line supports only i386
>Fix:
	Patch below

--- acroread.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/print/acroread/Makefile,v
retrieving revision 1.33
diff -u -d -H -r1.33 Makefile
--- Makefile	23 Dec 2004 18:57:14 -0000	1.33
+++ Makefile	29 Dec 2004 03:24:19 -0000
@@ -11,7 +11,7 @@
 MASTER_SITES=	http://download.adobe.com/pub/adobe/acrobatreader/unix/5.x/ \
 		ftp://ftp.adobe.com/pub/adobe/acrobatreader/unix/5.x/
 .include <bsd.port.pre.mk>
-.if ${ARCH} == "i386"
+.if ${ARCH} == "i386" || ${ARCH} == "amd64"
 DISTNAME=	linux-5010
 .endif
 CONFLICTS=	acroread-3*
@@ -20,7 +20,7 @@
 MAINTAINER=	trevor at FreeBSD.org
 COMMENT=	View, distribute and print PDF documents
 
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 .if (exists(${LINUXBASE}/lib/libc-2.3.2.so))
 RUN_DEPENDS+=	${LINUXBASE}/usr/X11R6/lib/libX11.so.6:${PORTSDIR}/x11/linux-XFree86-libs
@@ -32,7 +32,7 @@
 REINPLACE_ARGS=	-i '' -E
 NO_FILTER_SHLIBS=	yes
 
-.if ${ARCH} == "i386"
+.if ${ARCH} == "i386" || ${ARCH} == "amd64"
 PLIST_SUB=	"ARCHDIR=intellinux"
 .endif
 WRKSRC=		${WRKDIR}/installers
--- acroread.diff ends here ---


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



More information about the freebsd-ports-bugs mailing list