Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jan 2003 18:25:50 +0100
From:      Ulrich Spoerlein <q@uni.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        sobomax@FreeBSD.org
Subject:   ports/46835: Remove perl-dependancy from devel/sdl12
Message-ID:  <20030107182550.24059523.q@uni.de>

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

>Number:         46835
>Category:       ports
>Synopsis:       Remove perl-dependancy from devel/sdl12
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 07 09:30:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD roadrunner 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Dec 30 12:03:41 CET 2002 root@roadrunner:/usr/obj/usr/src/sys/ROADRUNNER i386
>Description:
The build of /usr/ports/devel/sdl12 requires perl. replace this with sed

Question: Why does this port install everything as sdl11 and not sdl12 or just sdl?

Another quirk:
sdl11-config --libs on -STABLE gives -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -pthread
sdl11-config --libs on -CURRENT gives -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL-1.1 -lc_r

This breaks linking against libSDL, because several pthread_ functions are unresolved
(Noticed with updated QuakeForge port (not yet committed))
>How-To-Repeat:
>Fix:
Apply attached patch.

--- Makefile.orig	Tue Jan  7 16:48:26 2003
+++ Makefile	Tue Jan  7 17:19:11 2003
@@ -20,6 +20,7 @@
 
 INSTALLS_SHLIB=	yes
 USE_LIBTOOL=	yes
+USE_REINPLACE=	yes
 CONFIGURE_ENV=	NASM="${LOCALBASE}/bin/nasm" \
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
@@ -86,7 +87,7 @@
 	@cd ${WRKSRC} && \
 		${CP} sdl-config sdl11-config && \
 		${CP} sdl.m4 sdl11.m4
-	@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
+	@${SED} -ine 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
 		${WRKSRC}/libtool
 
 post-install:

--=.5duth(d:g74SOa
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Gw2emArGtfDbn0QRAoSXAKDXpGgWngs8AArFJHU4fsA7qc5hJwCeM0IU
UmhMYAhGMMcCubD7skj4o8g=
=gZ1L
-----END PGP SIGNATURE-----

--=.5duth(d:g74SOa--
>Release-Note:
>Audit-Trail:
>Unformatted:
 --=.5duth(d:g74SOa
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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