ports/85720: [PATCH] ports: multimedia/lxdvdrip add some dependency
Serge Gagnon
serge.gagnon at b2b2c.ca
Sun Sep 4 20:30:20 UTC 2005
>Number: 85720
>Category: ports
>Synopsis: [PATCH] ports: multimedia/lxdvdrip add some dependency
>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: Sun Sep 04 20:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Serge Gagnon
>Release: FreeBSD 5.4-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix1.dyndns.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Sat Aug 6 12:15:25 EDT 2005 root at quenix1.dyndns.org:/usr/obj/usr/src/sys/OCEAN i386
>Description:
- Add some RUN_DEPENDS to lxdvdrip
vamps, streamdvd, transcode, dvdauthor, dvd+rw-tools
- This PR supercede PR ports/85715
>How-To-Repeat:
>Fix:
--- patch-lxdvdrip-Makefile begins here ---
--- multimedia/lxdvdrip/Makefile.orig Sun Sep 4 14:22:35 2005
+++ multimedia/lxdvdrip/Makefile Sun Sep 4 16:15:55 2005
@@ -15,6 +15,10 @@
COMMENT= Command Line Tool to make a copy from a Video DVD
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread
+RUN_DEPENDS= streamdvd:${PORTSDIR}/sysutils/streamdvd \
+ transcode:${PORTSDIR}/multimedia/transcode \
+ dvdauthor:${PORTSDIR}/multimedia/dvdauthor \
+ growisofs:${PORTSDIR}/sysutils/dvd+rw-tools
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -27,13 +31,16 @@
(cd ${WRKSRC}; \
${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \
-ldvdread -lm -o lxdvdrip lxdvdrip.c; \
- ${CC} ${CFLAGS} -lm -o lxac3scan lxac3scan.c)
+ ${CC} ${CFLAGS} -lm -o lxac3scan lxac3scan.c); \
+ (cd ${WRKSRC}/vamps; \
+ ${MAKE});
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/lxdvdrip ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/lxac3scan ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/lxdvdrip.1 ${PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/doc-pak/lxdvdrip.conf.* ${PREFIX}/etc
+ ${INSTALL_PROGRAM} ${WRKSRC}/vamps/vamps ${PREFIX}/bin
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
cd ${WRKSRC}/doc-pak && ${CP} Changelog* README.* TODO freebsd.doc ${DOCSDIR}
--- patch-lxdvdrip-Makefile ends here ---
--- patch-vamps:Makefile begins here ---
--- vamps/Makefile.orig Wed Sep 15 15:21:37 2004
+++ vamps/Makefile Sun Sep 4 14:28:22 2005
@@ -14,7 +14,7 @@
CC = gcc
CFLAGS = -Wall -O3 -fomit-frame-pointer -fexpensive-optimizations \
- -funroll-loops -march=i686 -mcpu=i686 -falign-functions=4
+ -funroll-loops -march=$(CPUTYPE) -falign-functions=4
STATIC =
STRIP = strip
@@ -22,7 +22,7 @@
all: vamps
vamps: vamps.o requant.o
- $(CC) -o $@ $(STATIC) vamps.o requant.o -lpthread
+ $(CC) -o $@ $(STATIC) vamps.o requant.o -lpthread -lm
$(STRIP) $@
requant.o: requant.h putvlc.h getvlc.h
--- patch-vamps:Makefile ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list