Bug 87985 - print/acroread7 need to resetting its ARCH to i386 in amd64 environment
Summary: print/acroread7 need to resetting its ARCH to i386 in amd64 environment
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: Alexander Leidinger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-25 15:40 UTC by Sangwoo Shim
Modified: 2006-02-11 21:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sangwoo Shim 2005-10-25 15:40:14 UTC
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.

Fix: %%%


+.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}"; \
%%%--itKnZpl45Gzue42SGBDTLpr0BzbxH5kKSZBYvvCxcdSYJS8q
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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}
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2005-10-25 15:48:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->trevor

Over to maintainer.
Comment 2 Alexander Leidinger freebsd_committer freebsd_triage 2006-02-11 21:09:00 UTC
State Changed
From-To: open->closed

Committed. Thanks. 


Comment 3 Alexander Leidinger freebsd_committer freebsd_triage 2006-02-11 21:09:00 UTC
Responsible Changed
From-To: trevor->netchild

Committed. Thanks.