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)) Fix: Apply attached patch. --=.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----CLDySiFKbVSivLbU2hGXWijVbLgfvke3Nda4Ds8NFUaEgfKa Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- 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:
Responsible Changed From-To: freebsd-ports->sobomax Over to Maintainer
Lately Ulrich Spoerlein <q@uni.de> told: > The build of /usr/ports/devel/sdl12 requires perl. replace this with > sed [...] > --- 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 when you're using ${REINPLACE}... [...] > - @${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ > + @${SED} -ine 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \ ..then why don't you use it? should be @${REINPLACE_CMD} -e .... i guess cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
State Changed From-To: open->closed Committed, thanks!