Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Nov 2011 09:55:02 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/162325: emulators/libspectrum: fix build on FreeBSD 10
Message-ID:  <201111060955.pA69t25P036899@red.freebsd.org>
Resent-Message-ID: <201111061000.pA6A0NUx038045@freefall.freebsd.org>

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

>Number:         162325
>Category:       ports
>Synopsis:       emulators/libspectrum: fix build on FreeBSD 10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 06 10:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 10 tinderbox
>Organization:
>Environment:
UNAME_v=FreeBSD 10.0-CURRENT #0: Sun Nov  6 08:08:09 CET 2011    root@tinderbox.host:/usr/src/sys/magic/kernel/path
OSVERSION=1000000
>Description:
Currently emulators/libspectrum does not build shared libraries (*.so) on FreeBSD 10 and above because the check in the configure script to detect FreeBSD 1.x (which had no support for shared libraries) is incorrectly implemented as '1*' instead of '1\.*'. The patch adds a fix for this check to the port Makefile so that shared libraries of this port are also built and installed on FreeBSD 10 and above. See Mk/bsd.port.mk for details.
>How-To-Repeat:
Build emulators/libspectrum on a 10.0-CURRENT machine/tinderbox.
>Fix:


Patch attached with submission follows:

diff -ruN libspectrum.orig/Makefile libspectrum/Makefile
--- libspectrum.orig/Makefile	2011-07-03 13:40:43.000000000 +0200
+++ libspectrum/Makefile	2011-11-06 01:11:03.000000000 +0100
@@ -23,6 +23,7 @@
 USE_GMAKE=	yes
 USE_GNOME=	glib20
 USE_LDCONFIG=	yes
+WITH_FBSD10_FIX=	yes
 
 MAN3=		libspectrum.3
 


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



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