From owner-freebsd-ports Fri Jan 10 7:10:13 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C95AB37B401 for ; Fri, 10 Jan 2003 07:10:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 559D643ED8 for ; Fri, 10 Jan 2003 07:10:05 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0AFA5NS011312 for ; Fri, 10 Jan 2003 07:10:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0AFA58S011311; Fri, 10 Jan 2003 07:10:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3530D37B405 for ; Fri, 10 Jan 2003 07:00:15 -0800 (PST) Received: from socigeog.hmt.toyama-u.ac.jp (socigeog.hmt.toyama-u.ac.jp [160.26.63.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id 402AC43ED8 for ; Fri, 10 Jan 2003 07:00:14 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost (localhost [127.0.0.1]) by socigeog.hmt.toyama-u.ac.jp (Postfix) with SMTP id BDEAD499 for ; Sat, 11 Jan 2003 00:00:11 +0900 (JST) Message-Id: <20030110235705.1eadbc07.tkato@prontomail.com> Date: Fri, 10 Jan 2003 23:57:05 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46932: Update port: audio/ksmp3play Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 46932 >Category: ports >Synopsis: Update port: audio/ksmp3play >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jan 10 07:10:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.7-RELEASE-p2 i386 >Organization: >Environment: >Description: - Fix build on 5-current New file: files/patch-ksmp3play.c files/patch-windows.c >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/ksmp3play/Makefile audio/ksmp3play/Makefile --- /usr/ports/audio/ksmp3play/Makefile Mon Jan 6 15:53:27 2003 +++ audio/ksmp3play/Makefile Fri Jan 10 23:53:32 2003 @@ -13,24 +13,26 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \ - smpeg:${PORTSDIR}/graphics/smpeg \ - gnugetopt:${PORTSDIR}/devel/libgnugetopt +LIB_DEPENDS= smpeg.1:${PORTSDIR}/graphics/smpeg -USE_REINPLACE= yes SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= SDL_CONFIG=${SDL_CONFIG} \ - LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt" + CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + MAN1= ksmp3play.1 post-patch: @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ksmp3play* ${DOCSDIR} + ${TAR} -C ${WRKSRC}/doc --exclude "CVS" -cf - . | \ + ${TAR} -C ${DOCSDIR} --unlink -xf - + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} .endif .include diff -urN /usr/ports/audio/ksmp3play/files/patch-ksmp3play.c audio/ksmp3play/files/patch-ksmp3play.c --- /usr/ports/audio/ksmp3play/files/patch-ksmp3play.c Thu Jan 1 09:00:00 1970 +++ audio/ksmp3play/files/patch-ksmp3play.c Sun Dec 29 12:45:50 2002 @@ -0,0 +1,10 @@ +--- ksmp3play.c.orig Mon Aug 20 04:43:37 2001 ++++ ksmp3play.c Sun Dec 29 11:01:56 2002 +@@ -22,6 +22,7 @@ + #include "ksmp3play.h" + #include + #include ++#include + #include + #include + #include diff -urN /usr/ports/audio/ksmp3play/files/patch-windows.c audio/ksmp3play/files/patch-windows.c --- /usr/ports/audio/ksmp3play/files/patch-windows.c Thu Jan 1 09:00:00 1970 +++ audio/ksmp3play/files/patch-windows.c Sun Dec 29 12:45:35 2002 @@ -0,0 +1,11 @@ +--- windows.c.orig Mon Aug 20 02:43:24 2001 ++++ windows.c Sun Dec 29 12:45:25 2002 +@@ -22,7 +22,7 @@ + #include "ksmp3play.h" + + #include +-#include ++#include + #include + #include + #include >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message