ports/133311: Update port: audio/umodplayer to
KATO Tsuguru
tkato432 at yahoo.com
Thu Apr 2 18:10:03 UTC 2009
>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:
More information about the freebsd-ports-bugs
mailing list