From owner-freebsd-ports Fri Aug 9 20:53:57 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D671037B406 for ; Fri, 9 Aug 2002 20:53:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C34C643E75 for ; Fri, 9 Aug 2002 20:52:56 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7A3qdJU039447 for ; Fri, 9 Aug 2002 20:52:51 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7A3qcJW039443; Fri, 9 Aug 2002 20:52:38 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C8D1937B400 for ; Fri, 9 Aug 2002 20:40:37 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 450E843E81 for ; Fri, 9 Aug 2002 20:40:37 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7A3ebOT099358 for ; Fri, 9 Aug 2002 20:40:37 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7A3ebuj099357; Fri, 9 Aug 2002 20:40:37 -0700 (PDT) Message-Id: <200208100340.g7A3ebuj099357@www.freebsd.org> Date: Fri, 9 Aug 2002 20:40:37 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/41501: Update port: graphics/libdv Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41501 >Category: ports >Synopsis: Update port: graphics/libdv >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Aug 09 20:51:41 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6-RELEASE i386 >Organization: >Environment: >Description: - GNU_CONFIGURE -> USE_LIBTOOL - Fix build in case WITHOUT_SDL is defined - Do not install GPL doc New file: files/patch-configure >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/libdv/Makefile graphics/libdv/Makefile --- /usr/ports/graphics/libdv/Makefile Fri Jul 5 20:22:55 2002 +++ graphics/libdv/Makefile Sat Aug 10 09:06:21 2002 @@ -7,6 +7,7 @@ PORTNAME= libdv PORTVERSION= 0.9.5 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -16,41 +17,46 @@ LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ popt.0:${PORTSDIR}/devel/popt -USE_GNOMELIBS= yes -USE_GTK= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 USE_REINPLACE= yes -USE_XLIB= yes -XFREE86_VERSION= 4 -GNU_CONFIGURE= yes +USE_LIBTOOL= yes +CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ + LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" INSTALLS_SHLIB= yes MAN1= encodedv.1 playdv.1 -SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config - -DOC_FILES= AUTHORS COPYING COPYRIGHT ChangeLog NEWS README \ +DOC_FILES= AUTHORS COPYRIGHT ChangeLog NEWS README \ README.dvconnect README.encoder TODO +.include + .ifndef(WITHOUT_SDL) LIB_DEPENDS+= SDL-1.1.4:${PORTSDIR}/devel/sdl12 +SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config + CONFIGURE_ARGS+= --enable-sdl CONFIGURE_ENV+= SDL_CONFIG="${SDL_CONFIG}" .endif -CONFIGURE_ARGS+= --with-x - pre-everything:: +.if ${XFREE86_VERSION} == 3 @${ECHO_MSG} '===>' @${ECHO_MSG} '===> ATTENTION <===' @${ECHO_MSG} '===> YOU NEED XFREE86 Version 4.0 <===' @${ECHO_MSG} '===> or above to run this <===' @${ECHO_MSG} '===> SINCE IT REQUIRES XV <===' @${ECHO_MSG} '===>' -.ifndef(WITHOUT_SDL) - @${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support' + @exit 1 .endif +.if !defined(WITHOUT_SDL) @${ECHO_MSG} '===>' + @${ECHO_MSG} '===> Define WITHOUT_SDL to disable SDL support' + @${ECHO_MSG} '===>' +.endif post-patch: @${REINPLACE_CMD} -E \ @@ -77,4 +83,4 @@ .endfor .endif -.include +.include diff -urN /usr/ports/graphics/libdv/files/patch-configure graphics/libdv/files/patch-configure --- /usr/ports/graphics/libdv/files/patch-configure Thu Jan 1 09:00:00 1970 +++ graphics/libdv/files/patch-configure Sat Aug 10 01:08:15 2002 @@ -0,0 +1,10 @@ +--- configure.orig Mon Apr 8 05:44:39 2002 ++++ configure Sat Aug 10 01:08:07 2002 +@@ -7384,6 +7384,7 @@ + + # This can be used to rebuild libtool when needed + LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" ++$ac_aux_dir/ltconfig $LIBTOOL_DEPS + + # Always use our own libtool. + LIBTOOL='$(SHELL) $(top_builddir)/libtool' diff -urN /usr/ports/graphics/libdv/pkg-plist graphics/libdv/pkg-plist --- /usr/ports/graphics/libdv/pkg-plist Tue May 21 21:46:44 2002 +++ graphics/libdv/pkg-plist Sat Aug 10 01:14:05 2002 @@ -4,12 +4,10 @@ include/libdv/dv1394.h include/libdv/dv_types.h lib/libdv.a -lib/libdv.la lib/libdv.so lib/libdv.so.1 libdata/pkgconfig/libdv.pc %%PORTDOCS%%share/doc/libdv/AUTHORS -%%PORTDOCS%%share/doc/libdv/COPYING %%PORTDOCS%%share/doc/libdv/COPYRIGHT %%PORTDOCS%%share/doc/libdv/ChangeLog %%PORTDOCS%%share/doc/libdv/NEWS >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message