From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 18 14:21:31 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BBCC16A4DF for ; Tue, 18 Jul 2006 14:21:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 381D643E68 for ; Tue, 18 Jul 2006 14:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k6IEKDvY022621 for ; Tue, 18 Jul 2006 14:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k6IEKDiE022620; Tue, 18 Jul 2006 14:20:13 GMT (envelope-from gnats) Resent-Date: Tue, 18 Jul 2006 14:20:13 GMT Resent-Message-Id: <200607181420.k6IEKDiE022620@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, mark@darklogik.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6272216A4DA for ; Tue, 18 Jul 2006 14:13:51 +0000 (UTC) (envelope-from markzero@corolla.ath.cx) Received: from addr9.addr.com (addr9.addr.com [38.113.244.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 607B843D5F for ; Tue, 18 Jul 2006 14:13:38 +0000 (GMT) (envelope-from markzero@corolla.ath.cx) Received: from logik.internal.network (localhost [127.0.0.1]) by addr9.addr.com (8.12.11/8.12.8/Submit) with ESMTP id k6IEDLlZ062560 for ; Tue, 18 Jul 2006 07:13:25 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 1001) id 8456D6300; Tue, 18 Jul 2006 15:14:59 +0100 (BST) Message-Id: <20060718141459.8456D6300@logik.internal.network> Date: Tue, 18 Jul 2006 15:14:59 +0100 (BST) From: mark@darklogik.org To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/100486: SDL port breaks compatibility in several ways X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mark@darklogik.org List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jul 2006 14:21:31 -0000 >Number: 100486 >Category: ports >Synopsis: SDL port breaks compatibility in several ways >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 18 14:20:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: mark@darklogik.org >Release: FreeBSD 6.1-RELEASE i386 >Organization: n/a >Environment: System: FreeBSD logik.internal.network 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 SDL-1.2.9 >Description: The libSDL port (devel/sdl12) has a number of problems. First of all, for apparently no reason whatsoever, the 'config' binary 'sdl-config' is renamed to 'sdl11-config' which breaks compatibility with the majority of build scripts unless they take extra pains to support FreeBSD (which precisely goes against the point of using SDL in the first place). Secondly, the port installs header files into /usr/local/include/SDL11 instead of the standard /usr/local/include/SDL, causing the same problems as above. The library names have also not been updated (and I don't think this has anything to do with the dynamic linker). So even though I have version 1.2.9 installed, the libraries advertise themselves as libSDL-1.1.so. Basically, the sdl12 port installs version 1.2.9 and calls it version 1.1. The config binary even states that it's linking against SDL-1.1, which is just basically incorrect: $ sdl11-config --libs -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread >How-To-Repeat: Install SDL. >Fix: Don't rename the config binary, it can be queried for it's own version with: sdl-config --version Either install files into /usr/local/include/SDL or create a compatibility symlink from /usr/local/include/SDLwhatever. Use the correct version numbers for dynamic libraries so that applications can say: libSDL-`sdl-config --version`.so ..and get the correct libraries like they would on other platforms. >Release-Note: >Audit-Trail: >Unformatted: