From tkato@prontomail.com  Wed Jul 30 08:24:06 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C1F9D37B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 30 Jul 2003 08:24:06 -0700 (PDT)
Received: from hfep08.dion.ne.jp (hfep08.dion.ne.jp [203.181.105.74])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0660A43F85
	for <FreeBSD-gnats-submit@FreeBSD.org>; Wed, 30 Jul 2003 08:24:06 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([218.222.68.254]) by hfep08.dion.ne.jp with SMTP
          id <20030730152402934.NRTQ@hfep08.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Thu, 31 Jul 2003 00:24:02 +0900
Message-Id: <20030731002122.48142594.tkato@prontomail.com>
Date: Thu, 31 Jul 2003 00:21:22 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: net/sdl_net

>Number:         55064
>Category:       ports
>Synopsis:       Update port: net/sdl_net
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 30 08:30:20 PDT 2003
>Closed-Date:    Thu Jul 31 00:25:50 PDT 2003
>Last-Modified:  Thu Jul 31 00:25:50 PDT 2003
>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@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:
State-Changed-From-To: open->closed 
State-Changed-By: daichi 
State-Changed-When: Thu Jul 31 00:25:39 PDT 2003 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55064 
>Unformatted:
