From owner-freebsd-ports-bugs Fri Feb 7 13:20:13 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8478337B401 for ; Fri, 7 Feb 2003 13:20:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A02A043FAF for ; Fri, 7 Feb 2003 13:20:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h17LK5NS025715 for ; Fri, 7 Feb 2003 13:20:05 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h17LK5mZ025714; Fri, 7 Feb 2003 13:20:05 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 752B237B401 for ; Fri, 7 Feb 2003 13:10:16 -0800 (PST) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5118443F3F for ; Fri, 7 Feb 2003 13:10:14 -0800 (PST) (envelope-from lofi@lofi.dyndns.org) Received: from lofi.dyndns.org ([10.3.12.105]) by meitner.wh.uni-dortmund.de (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id h17LACc28386; Fri, 7 Feb 2003 22:10:13 +0100 Received: from lofi.dyndns.org (lofi@localhost [127.0.0.1]) by lofi.dyndns.org (8.12.6/8.12.6) with ESMTP id h17LA5sG058369 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 7 Feb 2003 22:10:05 +0100 (CET) (envelope-from lofi@lofi.dyndns.org) Received: (from lofi@localhost) by lofi.dyndns.org (8.12.6/8.12.6/Submit) id h17LA4BS058368; Fri, 7 Feb 2003 22:10:04 +0100 (CET) (envelope-from lofi) Message-Id: <200302072110.h17LA4BS058368@lofi.dyndns.org> Date: Fri, 7 Feb 2003 22:10:04 +0100 (CET) From: Michael Nottebrock Reply-To: Michael Nottebrock To: FreeBSD-gnats-submit@FreeBSD.org Cc: sean@sfarc.net X-Send-Pr-Version: 3.113 Subject: ports/48067: maintainer-update: graphics/xvid Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 ) >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 -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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message