Date: Fri, 3 Apr 2009 03:00:16 +0900 From: KATO Tsuguru <tkato432@yahoo.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/133311: Update port: audio/umodplayer to Message-ID: <20090403030016.63442644.tkato432@yahoo.com> Resent-Message-ID: <200904021810.n32IA2EU094393@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133311 >Category: ports >Synopsis: Update port: audio/umodplayer to >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: Thu Apr 02 18:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 7.1-RELEASE-p4 i386 >Organization: >Environment: >Description: - Fix build >How-To-Repeat: >Fix: diff -urN /usr/ports/audio/umodplayer/Makefile audio/umodplayer/Makefile --- /usr/ports/audio/umodplayer/Makefile 2008-12-29 13:40:05.000000000 +0900 +++ audio/umodplayer/Makefile 2009-04-02 21:25:30.000000000 +0900 @@ -6,7 +6,7 @@ # PORTNAME= umodplayer -PORTVERSION= 0.b5.1 +PORTVERSION= 0.${DISTVERSION:L} DISTVERSION= B5.1 CATEGORIES= audio MASTER_SITES= SF @@ -19,14 +19,21 @@ ao.3:${PORTSDIR}/audio/libao BUILD_DEPENDS= ${LOCALBASE}/lib/libaiff.a:${PORTSDIR}/audio/libaiff -BROKEN= Does not compile with audio/libaiff +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} +MAKE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -GNU_CONFIGURE= yes PLIST_FILES= bin/${PORTNAME} MAN1= ${PORTNAME}.1 +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib + post-patch: - @${REINPLACE_CMD} -e 's/CFLAGS =/CFLAGS +=/' ${WRKSRC}/${MAKEFILE}.in + @${REINPLACE_CMD} -e \ + '/CFLAGS/s| =| +=| ; \ + /CFLAGS/s| -O2| $$(CPPFLAGS)|g ; \ + /^@/d' ${WRKSRC}/${MAKEFILE}.in do-install: @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090403030016.63442644.tkato432>