ports/66543: [PATCH] audio/faad2: [add --with-drm and little clean up]
michael johnson
ahze at ahze.net
Tue May 11 18:40:23 UTC 2004
>Number: 66543
>Category: ports
>Synopsis: [PATCH] audio/faad2: [add --with-drm and little clean up]
>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: Tue May 11 11:40:22 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: michael johnson
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ahze.net 5.2-CURRENT FreeBSD 5.2-CURRENT #45: Mon May 3 05:09:04 EDT
>Description:
- little clean up in Makefile
- add --with-drm for DRM support
- sizify
--with-drm is default in the .spec file
Port maintainer (sean at sfarc.net) is cc'd.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- faad2-2.0_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/faad/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 10 May 2004 09:18:04 -0000 1.14
+++ Makefile 11 May 2004 18:29:06 -0000
@@ -7,7 +7,7 @@
PORTNAME= faad2
PORTVERSION= 2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= faac
@@ -22,16 +22,15 @@
USE_AUTOMAKE_VER= 15
USE_AUTOHEADER= yes
-USE_AUTOHEADER= yes
AUTOMAKE_ARGS= --add-missing
-
+CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GETOPT_LONG= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_LIBTOOL_VER= 13
USE_REINPLACE= yes
-CONFIGURE_ARGS= --program-transform-name='' --with-mp4v2
+CONFIGURE_ARGS= --with-mp4v2 --with-drm
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \
@@ -44,6 +43,8 @@
# pre-configure will not work since *AUTO* tools happen in-between
@cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; \
${SETENV} ${SCRIPTS_ENV} ${LIBTOOLIZE} --automake
+ @${REINPLACE_CMD} -e 's|$$lt_target|$$host|' \
+ ${WRKSRC}/aclocal.m4
# CFLAGS safeness
@${FIND} ${WRKSRC} -type f -name Makefile.am | \
${XARGS} -n 5 -x \
@@ -57,8 +58,4 @@
post-install:
@${INSTALL_DATA} ${WRKSRC}/common/mp4v2/systems.h ${PREFIX}/include
-.include <bsd.port.pre.mk>
-
-CONFIGURE_ARGS+= --build=${CONFIGURE_TARGET}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/audio/faad/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 5 Mar 2004 07:27:02 -0000 1.2
+++ distinfo 11 May 2004 18:17:59 -0000
@@ -1 +1,2 @@
MD5 (faad2-2.0-rc3.tar.gz) = 0080076438655ed7facf1089a9805aff
+SIZE (faad2-2.0-rc3.tar.gz) = 704005
--- faad2-2.0_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list