From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Nov 23 05:50:24 2003 Return-Path: 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 3543616A4CE for ; Sun, 23 Nov 2003 05:50:24 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51AD143FCB for ; Sun, 23 Nov 2003 05:50:15 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hANDoFFY004802 for ; Sun, 23 Nov 2003 05:50:15 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hANDoFOE004801; Sun, 23 Nov 2003 05:50:15 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 23 Nov 2003 05:50:15 -0800 (PST) Resent-Message-Id: <200311231350.hANDoFOE004801@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, KATO Tsuguru Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA97816A4CE for ; Sun, 23 Nov 2003 05:46:09 -0800 (PST) Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63C7C43FBF for ; Sun, 23 Nov 2003 05:46:08 -0800 (PST) (envelope-from tkato@prontomail.com) Received: from localhost ([218.222.68.9]) by hfep06.dion.ne.jp with SMTP id <20031123134604437.GYTQ@hfep06.dion.ne.jp> for ; Sun, 23 Nov 2003 22:46:04 +0900 Message-Id: <20031123224519.7e5a1eaa.tkato@prontomail.com> Date: Sun, 23 Nov 2003 22:45:19 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/59613: Update port: science/vis5d+ X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2003 13:50:24 -0000 >Number: 59613 >Category: ports >Synopsis: Update port: science/vis5d+ >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 Nov 23 05:50:15 PST 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.9-RELEASE i386 >Organization: >Environment: >Description: - Fix build on -current New file: files/patch-ltmain.sh files/patch-util::main.c Remove file: files/patch-configure >How-To-Repeat: >Fix: diff -urN /usr/ports/science/vis5d+/Makefile science/vis5d+/Makefile --- /usr/ports/science/vis5d+/Makefile Thu Jun 5 09:54:36 2003 +++ science/vis5d+/Makefile Sun Nov 23 13:09:19 2003 @@ -23,22 +23,17 @@ gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick -USE_MESA= yes -USE_GNOME= gtk12 -USE_LIBTOOL= yes -CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} +USE_GL= yes +USE_GNOME= gnometarget gtk12 +GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" -CONFIGURE_ARGS= --enable-gtk --enable-threads --with-mesa --with-netcdf \ +CONFIGURE_ARGS= --enable-gtk --enable-threads --with-netcdf \ --with-mixkit=${LOCALBASE}/lib/libmix.a --with-x INSTALLS_SHLIB= yes CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_FLAGS} LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} -.include +CFLAGS+= -DMIX_ANSI_IOSTREAMS -fpermissive -.if ${OSVERSION} >= 500113 -BROKEN= "Does not compile (bad C++ code)" -.endif - -.include +.include diff -urN /usr/ports/science/vis5d+/files/patch-configure science/vis5d+/files/patch-configure --- /usr/ports/science/vis5d+/files/patch-configure Fri Sep 20 15:19:33 2002 +++ science/vis5d+/files/patch-configure Thu Jan 1 09:00:00 1970 @@ -1,10 +0,0 @@ ---- configure.orig Wed Nov 7 20:54:00 2001 -+++ configure Sun Sep 15 08:57:22 2002 -@@ -6903,6 +6903,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/science/vis5d+/files/patch-ltmain.sh science/vis5d+/files/patch-ltmain.sh --- /usr/ports/science/vis5d+/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970 +++ science/vis5d+/files/patch-ltmain.sh Sun Nov 23 12:51:54 2003 @@ -0,0 +1,25 @@ +--- ltmain.sh.orig Wed Nov 7 20:53:47 2001 ++++ ltmain.sh Sun Nov 23 11:20:58 2003 +@@ -2408,6 +2408,9 @@ + *-*-netbsd*) + # Don't link with libc until the a.out ld.so is fixed. + ;; ++ *-*-freebsd*) ++ # FreeBSD doesn't need this... ++ ;; + *) + # Add libc to deplibs on all other systems if necessary. + if test $build_libtool_need_lc = "yes"; then +@@ -4175,10 +4178,12 @@ + fi + + # Install the pseudo-library for information purposes. ++ if /usr/bin/false; then + name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` + instname="$dir/$name"i + $show "$install_prog $instname $destdir/$name" + $run eval "$install_prog $instname $destdir/$name" || exit $? ++ fi + + # Maybe install the static library, too. + test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" diff -urN /usr/ports/science/vis5d+/files/patch-util::main.c science/vis5d+/files/patch-util::main.c --- /usr/ports/science/vis5d+/files/patch-util::main.c Thu Jan 1 09:00:00 1970 +++ science/vis5d+/files/patch-util::main.c Sun Nov 23 12:16:07 2003 @@ -0,0 +1,22 @@ +--- util/main.c.orig Wed Oct 24 19:46:49 2001 ++++ util/main.c Sun Nov 23 12:15:53 2003 +@@ -34,9 +34,6 @@ + #include + #include + #include +-#ifdef HAVE_SYS_LOCK_H +-# include +-#endif + #include + #include + #include +@@ -44,6 +41,9 @@ + #include + #include + #include ++#ifdef HAVE_SYS_LOCK_H ++# include ++#endif + + char cc[1000]; + int Argc; >Release-Note: >Audit-Trail: >Unformatted: