ports/122225: devel/sdl12 need to check arch for svgalib
David Yeske
dyeske at gmail.com
Sat Mar 29 08:20:01 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list