From owner-freebsd-ports Tue Sep 17 10:31: 5 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 3B8FF37B42F for ; Tue, 17 Sep 2002 10:30:29 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15CA043E9E for ; Tue, 17 Sep 2002 10:30:24 -0700 (PDT) (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 g8HHUNCo017989 for ; Tue, 17 Sep 2002 10:30:23 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8HHUNHv017986; Tue, 17 Sep 2002 10:30:23 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 950D237B442 for ; Tue, 17 Sep 2002 10:24:21 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id B9F7344003 for ; Tue, 17 Sep 2002 09:55:36 -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 g8HGtLOT021513 for ; Tue, 17 Sep 2002 09:55:36 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g8HGsupY021438; Tue, 17 Sep 2002 09:54:56 -0700 (PDT) Message-Id: <200209171654.g8HGsupY021438@www.freebsd.org> Date: Tue, 17 Sep 2002 09:54:56 -0700 (PDT) From: KATO Tsuguru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/42901: Update port: graphics/imlib3d 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: 42901 >Category: ports >Synopsis: Update port: graphics/imlib3d >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: Tue Sep 17 10:30:21 PDT 2002 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: 4.6.2-RELEASE i386 >Organization: >Environment: >Description: - Support CFLAGS/CXXFLAGS properly - Mark as BROKEN on 4-stable New file: files/patch-ltmain.sh >How-To-Repeat: >Fix: diff -urN /usr/ports/graphics/imlib3d/Makefile graphics/imlib3d/Makefile --- /usr/ports/graphics/imlib3d/Makefile Wed Aug 28 17:17:27 2002 +++ graphics/imlib3d/Makefile Mon Sep 16 04:15:17 2002 @@ -8,6 +8,7 @@ PORTNAME= imlib3d PORTVERSION= 0.8.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -15,24 +16,30 @@ MAINTAINER= ports@FreeBSD.org -LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl \ - fftw:${PORTSDIR}/math/fftw \ +LIB_DEPENDS= fftw.2:${PORTSDIR}/math/fftw \ + gsl.3:${PORTSDIR}/math/gsl \ xml2.5:${PORTSDIR}/textproc/libxml2 \ - gtkmm:${PORTSDIR}/x11-toolkits/gtk-- \ - gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea \ - gtkglmm:${PORTSDIR}/x11-toolkits/gtkglarea-- + gtkglmm.1:${PORTSDIR}/x11-toolkits/gtkglarea-- -USE_REINPLACE= yes USE_X_PREFIX= yes USE_MESA= yes -USE_FREETYPE= yes -USE_LIBTOOL= yes -CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2/libxml" \ - LIBS="-L${LOCALBASE}/lib" -CONFIGURE_ARGS= --enable-libimx --enable-optimize +#USE_FREETYPE= yes +USE_REINPLACE= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --enable-optimize INSTALLS_SHLIB= yes +.include + +.if ${OSVERSION} < 500000 +#BROKEN= "does not build with GCC 2.x" +.endif + post-patch: - @${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ + s|OPTIMIZE_FLAGS=.*$$|OPTIMIZE_FLAGS=|g ; \ + s|||g' ${WRKSRC}/configure -.include +.include diff -urN /usr/ports/graphics/imlib3d/files/patch-ltmain.sh graphics/imlib3d/files/patch-ltmain.sh --- /usr/ports/graphics/imlib3d/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970 +++ graphics/imlib3d/files/patch-ltmain.sh Mon Sep 16 04:02:25 2002 @@ -0,0 +1,25 @@ +--- ltmain.sh.orig Mon Sep 16 04:01:31 2002 ++++ ltmain.sh Mon Sep 16 04:02:12 2002 +@@ -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/graphics/imlib3d/pkg-plist graphics/imlib3d/pkg-plist --- /usr/ports/graphics/imlib3d/pkg-plist Wed Aug 28 17:17:27 2002 +++ graphics/imlib3d/pkg-plist Sun Sep 15 06:32:13 2002 @@ -222,37 +222,32 @@ include/newmat/precisio.h include/newmat/solution.h lib/libGnuPlotInterface.a -lib/libGnuPlotInterface.la lib/libGnuPlotInterface.so lib/libGnuPlotInterface.so.0 lib/libImLib3D-0.8.so lib/libImLib3D-0.8.so.1 lib/libImLib3D.a -lib/libImLib3D.la lib/libImLib3D.so lib/libImLib3DCalls.a -lib/libImLib3DCalls.la lib/libImLib3DCalls.so lib/libImLib3DCalls.so.0 lib/libavwio.a -lib/libavwio.la lib/libavwio.so lib/libavwio.so.0 lib/libnewmat.a -lib/libnewmat.la lib/libnewmat.so lib/libnewmat.so.0 -@dirrm include/GnuPlotInterface -@dirrm include/ImLib3D -@dirrm include/boost/config/compiler -@dirrm include/boost/config/platform -@dirrm include/boost/config/stdlib -@dirrm include/boost/config -@dirrm include/boost/preprocessor/arithmetic -@dirrm include/boost/preprocessor/comparison -@dirrm include/boost/preprocessor/list -@dirrm include/boost/preprocessor/logical +@dirrm include/boost/type_traits @dirrm include/boost/preprocessor/tuple +@dirrm include/boost/preprocessor/logical +@dirrm include/boost/preprocessor/list +@dirrm include/boost/preprocessor/comparison +@dirrm include/boost/preprocessor/arithmetic @dirrm include/boost/preprocessor -@dirrm include/boost/type_traits +@dirrm include/boost/config/stdlib +@dirrm include/boost/config/platform +@dirrm include/boost/config/compiler +@dirrm include/boost/config @dirrm include/boost +@dirrm include/ImLib3D +@dirrm include/GnuPlotInterface >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message