ports/55064: Update port: net/sdl_net

KATO Tsuguru tkato at prontomail.com
Wed Jul 30 15:30:39 UTC 2003


>Number:         55064
>Category:       ports
>Synopsis:       Update port: net/sdl_net
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 30 08:30:20 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Utilize USE_SDL
- PERL -> REINPLACE_CMD

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/net/sdl_net/Makefile net/sdl_net/Makefile
--- /usr/ports/net/sdl_net/Makefile	Tue Jul 29 21:33:12 2003
+++ net/sdl_net/Makefile	Wed Jul 30 23:22:27 2003
@@ -14,22 +14,18 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	A small sample cross-platform networking library
 
-LIB_DEPENDS=	SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
-		GUI.0:${PORTSDIR}/graphics/guilib
+LIB_DEPENDS=	GUI.0:${PORTSDIR}/graphics/guilib
 
-SDL_CONFIG?=	${LOCALBASE}/bin/sdl11-config
-
-USE_LIBTOOL=	yes
+USE_SDL=	yes
+USE_REINPLACE=	yes
 USE_GMAKE=	yes
+USE_LIBTOOL=	yes
+LIBTOOLFLAGS=	--disable-ltlibs --release-ignore
 INSTALLS_SHLIB=	yes
-CONFIGURE_ENV=	SDL_CONFIG="${SDL_CONFIG}"
-
-post-extract:
-	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
-		's|-release \$$\(LT_RELEASE\)||g'
 
 post-configure:
-	@${PERL} -pi -e 's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
-		${WRKSRC}/libtool
+	@${REINPLACE_CMD} -e \
+		's|^deplibs_check_method=.*|deplibs_check_method=pass_all|' \
+			${WRKSRC}/libtool
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list