Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Mar 2008 08:11:10 GMT
From:      David Yeske <dyeske@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/122225: devel/sdl12 need to check arch for svgalib
Message-ID:  <200803290811.m2T8BApd073829@www.freebsd.org>
Resent-Message-ID: <200803290820.m2T8K1Xl017242@freefall.freebsd.org>

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

>Number:         122225
>Category:       ports
>Synopsis:       devel/sdl12 need to check arch for svgalib
>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:   Sat Mar 29 08:20:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     David Yeske
>Release:        HEAD
>Organization:
>Environment:
FreeBSD speed 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Sat Mar  8 02:23:12 EST 2008     root@speed:/home/obj/usr/src/sys/SPEED  amd64

>Description:
If you try and install sdl on an amd64 machine it will fail if you have svgalib enabled.

===>  Cleaning for sdl-1.2.13_1,2
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for sdl-1.2.13_1,2
===>  Extracting for sdl-1.2.13_1,2
=> MD5 Checksum OK for SDL-1.2.13.tar.gz.
=> SHA256 Checksum OK for SDL-1.2.13.tar.gz.
===>  Patching for sdl-1.2.13_1,2
===>  Applying FreeBSD patches for sdl-1.2.13_1,2
===>   sdl-1.2.13_1,2 depends on executable: nasm - found
===>   sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/xextproto.pc - found
===>   sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found
===>   sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/xrender.pc - found
===>   sdl-1.2.13_1,2 depends on file: /usr/local/libdata/pkgconfig/xrandr.pc - found
===>   sdl-1.2.13_1,2 depends on file: /usr/local/bin/libtool - found
===>   sdl-1.2.13_1,2 depends on executable: pkg-config - found
===>   sdl-1.2.13_1,2 depends on shared library: aa.1 - found
===>   sdl-1.2.13_1,2 depends on shared library: vga.1 - not found
===>    Verifying install for vga.1 in /usr/ports/graphics/svgalib
===>  svgalib-1.4.3_5 is only for i386, while you are running amd64.
*** Error code 1

Stop in /usr/ports/graphics/svgalib.
*** Error code 1

Stop in /usr/ports/devel/sdl12.
*** Error code 1

Stop in /usr/ports/devel/sdl12.

>How-To-Repeat:
Try and compile devel/sdl12 on an amd64 machine.
>Fix:
see attachment

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/sdl12/Makefile,v
retrieving revision 1.111
diff -u -r1.111 Makefile
--- Makefile	25 Mar 2008 22:44:48 -0000	1.111
+++ Makefile	29 Mar 2008 07:42:30 -0000
@@ -120,7 +120,7 @@
 CONFIGURE_ARGS+=--disable-pulseaudio
 .endif
 
-.if defined(WITHOUT_SVGALIB)
+.if (defined(WITHOUT_SVGALIB) || ${ARCH} != "i386")
 CONFIGURE_ARGS+=--disable-video-svga
 .else
 LIB_DEPENDS+=	vga.1:${PORTSDIR}/graphics/svgalib


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



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