Date: Fri, 7 Feb 2003 22:10:04 +0100 (CET) From: Michael Nottebrock <lofi@lofi.dyndns.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: sean@sfarc.net Subject: ports/48067: maintainer-update: graphics/xvid Message-ID: <200302072110.h17LA4BS058368@lofi.dyndns.org>
next in thread | raw e-mail | index | archive | help
>Number: 48067 >Category: ports >Synopsis: maintainer-update: graphics/xvid >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Feb 07 13:20:04 PST 2003 >Closed-Date: >Last-Modified: >Originator: Michael Nottebrock >Release: FreeBSD 5.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD lofi.dyndns.org 5.0-RELEASE-p1 FreeBSD 5.0-RELEASE-p1 #0: Thu Feb 6 06:12:21 CET 2003 lofi@lofi.dyndns.org:/usr/obj/usr/src/sys/LOFI i386 >Description: Changes: - update MASTER_SITES - fix up platforms (remove alpha) - introduce in-place patch to not link the shared lib against libc (noticed by: Sean McGovern <sean@sfarc.net>) >How-To-Repeat: >Fix: diff -urN xvid.orig/Makefile xvid/Makefile --- xvid.orig/Makefile Mon Jan 20 13:07:09 2003 +++ xvid/Makefile Fri Feb 7 21:52:54 2003 @@ -7,21 +7,22 @@ PORTNAME= xvid PORTVERSION= 0.9.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= graphics -MASTER_SITES= http://cvs.xvid.org/downloads/xvidcore-0.9.0/ +MASTER_SITES= http://files.xvid.org/downloads/ DISTNAME= xvidcore-${PORTVERSION} MAINTAINER= michaelnottebrock@gmx.net BUILD_DEPENDS= ${LOCALBASE}/bin/nasm:${PORTSDIR}/devel/nasm -MAKEFILE= Makefile.linuxx86 -ONLY_FOR_ARCHS= i386 alpha sparc64 +ONLY_FOR_ARCHS= i386 sparc64 USE_AUTOCONF_VER= 253 USE_PERL5_BUILD=yes USE_GMAKE= yes INSTALLS_SHLIB= yes +USE_REINPLACE= yes CONFIGURE_WRKSRC= ${WRKDIR} WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic @@ -36,6 +37,11 @@ @ ${CP} ${FILESDIR}/${file} ${WRKDIR} .endfor +post-patch: +.for file in Makefile.linuxx86 Makefile.sparc + ${REINPLACE_CMD} -e 's|-lc||' ${WRKSRC}/$(file) +.endfor + do-install: @ ${INSTALL_DATA} ${WRKSRC}/libxvidcore.so ${PREFIX}/lib/libxvidcore.so.0 @ ${LN} -s libxvidcore.so.0 ${PREFIX}/lib/libxvidcore.so @@ -47,14 +53,10 @@ .include <bsd.port.pre.mk> -CFLAGS+= -DLINUX - .if ${ARCH:L} == i386 -CFLAGS+= -DARCH_X86 -.elif ${ARCH:L} == alpha -CFLAGS+= -DARCH_PPC +MAKEFILE= Makefile.linuxx86 .elif ${ARCH:L} == sparc64 -CFLAGS+= -DARCH_SPARC +MAKEFILE= Makefile.sparc .endif .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302072110.h17LA4BS058368>