Bug 184331 - [patch] misc/compat7x enable sparc64
Summary: [patch] misc/compat7x enable sparc64
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Renato Botelho
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-27 16:10 UTC by craig001
Modified: 2015-06-14 15:21 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (214 bytes, patch)
2013-11-27 16:10 UTC, craig001
no flags Details | Diff
file.diff (3.77 KB, patch)
2013-11-27 16:10 UTC, craig001
no flags Details | Diff
compat7x_sparc64.patch (4.16 KB, patch)
2013-11-27 16:29 UTC, craig001
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description craig001 2013-11-27 16:10:02 UTC
sparc64 support was dropped from misc/compat7x, when trying to build currently it errors out with "...only for i386 amd64, while you are running sparc64"

After discussions with Renato(garga@) he has walked me through how to make distfile for sparc64.

7.4-RELEASE base files where taken from ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/sparc64/7.4-RELEASE/base and installed into a chroot.  The libs where then lifted from there using compat7x-sparc64-7.3.703000.201008.tar.bz2 as a template.  

111 files in total.

I have updated the port Makefile, distinfo, and created a pkg-plist.sparc64 to enable build on sparc64.

I have done serveral test builds, installs and uninstalls.

The sparc64 distfile is available from http://bsdtec.com/freebsd/distfiles/compat7x-sparc64-7.4.704000.201310.1.tar.xz

Fix: USE_XZ=                yes
 NO_BUILD=      yes
-ONLY_FOR_ARCHS=        i386 amd64
+ONLY_FOR_ARCHS=        i386 amd64 sparc64
 PLIST=         ${PKGDIR}/pkg-plist.${ARCH}
 TARGET_DIR=    ${PREFIX}/lib/compat
 TARGET32_DIR=  ${PREFIX}/lib32/compat
How-To-Repeat: Try to build misc/compat7x from ports.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-11-27 16:10:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->garga

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 craig001 2013-11-27 16:29:34 UTC
I think the web pr-send broke the patch, here it is attached as a file.

Regards

Craig Butler
Comment 3 Bartek Rutkowski freebsd_committer freebsd_triage 2015-06-14 15:21:51 UTC
The current misc/compat7x port is available on sparc64 so I am closing this ticket.