Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Dec 2008 20:30:53 GMT
From:      Diego Ongaro <ongardie@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/129375: build devel/libdisasm on amd64
Message-ID:  <200812022030.mB2KUr0G069604@www.freebsd.org>
Resent-Message-ID: <200812022040.mB2Ke1FJ011459@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         129375
>Category:       ports
>Synopsis:       build devel/libdisasm on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 02 20:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Diego Ongaro
>Release:        8.0-CURRENT
>Organization:
>Environment:
FreeBSD 8.0-CURRENT amd64
>Description:
Port devel/libdisasm does not attempt to build on amd64, but works fine.


The upstream changelog shows for v0.22: "made types 64bit-safe".
http://bastard.svn.sourceforge.net/viewvc/bastard/trunk/libdisasm/ChangeLog?view=markup&pathrev=820

<wxs> the build is going well on all supported versions on amd64
<wxs> it was marked as ONLY_FOR_ARCHS=i386 in 1.3 of Makefile
<wxs> http://portsmon.freebsd.org/portoverview.py?category=devel&portname=libdisasm&wildcard=
<wxs> no logs available as to why it was broken on pointyhat
<wxs> it could be that the new version fixes whatever the problem was
>How-To-Repeat:
Try to install the port. It won't even try.

Apply the patch, install the port, verify functionality with /usr/bin/x86dis. It seems OK to me.
>Fix:
See patch.

Patch attached with submission follows:

--- devel/libdisasm/Makefile.bck	2008-12-02 14:34:07.000000000 -0600
+++ devel/libdisasm/Makefile	2008-12-02 14:32:45.000000000 -0600
@@ -17,7 +17,7 @@
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 USE_LDCONFIG=	yes
-ONLY_FOR_ARCHS=	i386
+ONLY_FOR_ARCHS=	i386 amd64
 
 .ifndef(NOPORTDOCS)
 PORTDOCS=	libdisasm.txt


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812022030.mB2KUr0G069604>