ports/184363: [patch] misc/compat8x enable sparc64

Craig Butler craig001 at lerwick.hopto.org
Thu Nov 28 23:30:03 UTC 2013


>Number:         184363
>Category:       ports
>Synopsis:       [patch] misc/compat8x enable sparc64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 28 23:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Craig Butler
>Release:        9.2-RELEASE sparc64
>Organization:
>Environment:
FreeBSD blueeye.lerwick.hopto.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Tue Oct  8 16:09:50 BST 2013     root at blueeye.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC  sparc64

>Description:
sparc64 support was dropped from misc/compat8x currently when trying to compile from ports we get "...only for i386 amd64, while you are running sparc64."

I have updated the distfile, distinfo, Makefile, and created a pkg-plist-sparc64.

Libs where pulled from a compiled 8.4-RELEASE.  I used compat8x-sparc64-8.3.803000.201209.tar.bz2 as a reference.

I have tried a few make, make install, make deinstall

distfile is available from - http://bsdtec.com/freebsd/distfiles/compat8x-sparc64-8.4.804000.201310.tar.xz
>How-To-Repeat:
try to compile misc/compat8x from ports on a sparc64 machine.
>Fix:
see attached patch

Patch attached with submission follows:

diff -ruN misc/compat8x.orig/Makefile misc/compat8x/Makefile
--- misc/compat8x.orig/Makefile	2013-10-31 23:38:29.000000000 +0000
+++ misc/compat8x/Makefile	2013-11-28 22:31:18.503780611 +0000
@@ -16,7 +16,7 @@
 
 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
diff -ruN misc/compat8x.orig/distinfo misc/compat8x/distinfo
--- misc/compat8x.orig/distinfo	2013-10-15 12:39:39.000000000 +0100
+++ misc/compat8x/distinfo	2013-11-28 22:49:29.703778657 +0000
@@ -2,3 +2,5 @@
 SIZE (compat8x-amd64-8.4.804000.201310.tar.xz) = 426848
 SHA256 (compat8x-i386-8.4.804000.201310.tar.xz) = 8aca342a2f68d8a8d9626e39e2c02fb3f2dab517d11f4a8533b8f863cf5b98ff
 SIZE (compat8x-i386-8.4.804000.201310.tar.xz) = 234692
+SHA256 (compat8x-sparc64-8.4.804000.201310.tar.xz) = 69263d831439278b28dbec3942ceccd3eee15624ac041a941106e0ad92591060
+SIZE (compat8x-sparc64-8.4.804000.201310.tar.xz) = 239384
diff -ruN misc/compat8x.orig/pkg-plist.sparc64 misc/compat8x/pkg-plist.sparc64
--- misc/compat8x.orig/pkg-plist.sparc64	1970-01-01 01:00:00.000000000 +0100
+++ misc/compat8x/pkg-plist.sparc64	2013-11-28 22:29:44.946779203 +0000
@@ -0,0 +1,13 @@
+lib/compat/libopie.so.6
+lib/compat/libufs.so.5
+lib/compat/libtacplus.so.4
+lib/compat/libbsnmp.so.5
+lib/compat/libdwarf.so.2
+lib/compat/liblwres.so.80
+lib/compat/libutil.so.8
+lib/compat/libcam.so.5
+lib/compat/libobjc.so.4
+lib/compat/libz.so.5
+lib/compat/libpcap.so.7
+lib/compat/libsbuf.so.5
+ at dirrmtry lib/compat


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


More information about the freebsd-ports-bugs mailing list