ports/87985: print/acroread7 need to resetting its ARCH to i386 in amd64 environment

Sangwoo Shim sangwoos at gmail.com
Tue Oct 25 14:40:24 UTC 2005


>Number:         87985
>Category:       ports
>Synopsis:       print/acroread7 need to resetting its ARCH to i386 in amd64 environment
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 25 14:40:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sangwoo Shim
>Release:        FreeBSD/amd64 7-CURRENT
>Organization:
Seoul Nat'l Univ.
>Environment:
FreeBSD ssw.dyndns.org 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Sat Oct 22 01:06:15 KST 2005     root at ssw.dyndns.org:/usr/obj/usr/src/sys/SSW  amd64

>Description:
If I do 'make install' in ports/print/acroread7, it fails to install its
dependencies. When trying to install dependencies, (namely, linux-gtk) it seems that ARCH isn't resetted to i386. I couldn't figure out the exact origin of the problem. Anyway, following patch (might be not *the* solution) fixed the
problem.

>How-To-Repeat:
              
>Fix:
              
%%%
--- Makefile.orig       Tue Oct 25 23:21:23 2005
+++ Makefile    Tue Oct 25 23:23:11 2005
@@ -32,6 +32,13 @@
 SUB_FILES=     acroread7
 SUB_LIST+=     INSTDIR=${INSTDIR}

+.include <bsd.port.pre.mk>
+
+.if (${ARCH} == "amd64")
+ARCH=          i386
+RPMFLAGS+=     --ignorearch
+.endif
+
 do-build:
        @kldstat -v | ${GREP} -E 'linux(aout|elf)' >/dev/null ||\
                { ${ECHO_MSG} "Linux ABI compatibility must be enabled to install ${PORTNAME}-${PORTVERSION}"; \
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list