ports/162325: emulators/libspectrum: fix build on FreeBSD 10

Rene Ladan rene at FreeBSD.org
Sun Nov 6 10:00:23 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list