From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 4 06:20:17 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 2F1B137B401 for ; Wed, 4 Jun 2003 06:20:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74C0043FBF for ; Wed, 4 Jun 2003 06:20:14 -0700 (PDT) (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 h54DKEUp091851 for ; Wed, 4 Jun 2003 06:20:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h54DKEtI091850; Wed, 4 Jun 2003 06:20:14 -0700 (PDT) Resent-Date: Wed, 4 Jun 2003 06:20:14 -0700 (PDT) Resent-Message-Id: <200306041320.h54DKEtI091850@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 D548237B401 for ; Wed, 4 Jun 2003 06:19:38 -0700 (PDT) Received: from hfep05.dion.ne.jp (hfep05.dion.ne.jp [203.181.105.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BE7643F3F for ; Wed, 4 Jun 2003 06:19:38 -0700 (PDT) (envelope-from tkato@prontomail.com) Received: from localhost ([61.198.221.201]) by hfep05.dion.ne.jp with SMTP id <20030604131931822.BNHP@hfep05.dion.ne.jp> for ; Wed, 4 Jun 2003 22:19:31 +0900 Message-Id: <20030604221846.506b32cc.tkato@prontomail.com> Date: Wed, 4 Jun 2003 22:18:46 +0900 From: KATO Tsuguru To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52931: Update port: deskutils/genius 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: Wed, 04 Jun 2003 13:20:17 -0000 >Number: 52931 >Category: ports >Synopsis: Update port: deskutils/genius >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: Wed Jun 04 06:20:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: KATO Tsuguru >Release: FreeBSD 4.8-RELEASE i386 >Organization: >Environment: >Description: - Mark as BROKEN on 4-stable (requires readline 4.2 or newer) - Do not install useless .la file - Support LDCONFIG_DIRS properly New file: files/patch-ltmain.sh files/patch-src::calc.c >How-To-Repeat: >Fix: diff -urN /usr/ports/deskutils/genius/Makefile deskutils/genius/Makefile --- /usr/ports/deskutils/genius/Makefile Wed Jun 4 00:22:20 2003 +++ deskutils/genius/Makefile Wed Jun 4 13:43:25 2003 @@ -7,26 +7,29 @@ PORTNAME= genius PORTVERSION= 0.5.5 +PORTREVISION= 1 CATEGORIES= deskutils gnome MASTER_SITES= http://ftp.5z.com/pub/genius/ MAINTAINER= ports@FreeBSD.org COMMENT= Arbitrary precision calculator for Gnome Desktop Environment -BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig -LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 \ - intl.4:${PORTSDIR}/devel/gettext \ - popt.0:${PORTSDIR}/devel/popt +LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4 USE_PERL5_BUILD= yes -USE_REINPLACE= yes USE_X_PREFIX= yes -USE_GNOME= gnomeprefix gnomehack gtk20 gconf2 libgnome libgnomeui vte -USE_LIBTOOL= yes +USE_GNOME= gnomeprefix gnomehack libgnomeui vte +GNU_CONFIGURE= yes +CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" +INSTALLS_SHLIB= yes +LDCONFIG_DIRS+= %%PREFIX%%/lib/genius -post-patch: - @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure +.include -.include +.if ${OSVERSION} < 500018 +BROKEN= "Requires readline 4.2 or newer" +.endif + +.include diff -urN /usr/ports/deskutils/genius/files/patch-ltmain.sh deskutils/genius/files/patch-ltmain.sh --- /usr/ports/deskutils/genius/files/patch-ltmain.sh Thu Jan 1 09:00:00 1970 +++ deskutils/genius/files/patch-ltmain.sh Wed Jun 4 01:37:55 2003 @@ -0,0 +1,15 @@ +--- ltmain.sh.orig Sat Apr 26 04:18:44 2003 ++++ ltmain.sh Wed Jun 4 01:37:42 2003 +@@ -4280,10 +4280,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/deskutils/genius/files/patch-src::calc.c deskutils/genius/files/patch-src::calc.c --- /usr/ports/deskutils/genius/files/patch-src::calc.c Thu Jan 1 09:00:00 1970 +++ deskutils/genius/files/patch-src::calc.c Wed Jun 4 13:42:46 2003 @@ -0,0 +1,20 @@ +--- src/calc.c.orig Tue Jun 3 01:11:20 2003 ++++ src/calc.c Wed Jun 4 13:38:50 2003 +@@ -30,6 +30,8 @@ + #include + #ifdef HAVE_WORDEXP + #include ++#else ++#include + #endif + #include + #include +@@ -2402,7 +2404,7 @@ + return NULL; + } + for (i = 0; i < gl.gl_pathc; i++) { +- list = g_slist_prepend (list, g_strdup (gl.gl_pathc[i])); ++ list = g_slist_prepend (list, g_strdup (gl.gl_pathv[i])); + } + globfree (&gl); + #endif diff -urN /usr/ports/deskutils/genius/pkg-plist deskutils/genius/pkg-plist --- /usr/ports/deskutils/genius/pkg-plist Wed Jun 4 00:22:21 2003 +++ deskutils/genius/pkg-plist Wed Jun 4 01:36:10 2003 @@ -15,12 +15,9 @@ include/genius/structs.h include/genius/utype.h lib/genius/libtestplugin.a -lib/genius/libtestplugin.la lib/genius/libtestplugin.so lib/genius/libtestplugin.so.0 libexec/genius-readline-helper-fifo -@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R -@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B share/gnome/applications/gnome-genius.desktop share/gnome/genius/gel/calculus/differentiation.gel share/gnome/genius/gel/calculus/integration.gel @@ -60,14 +57,14 @@ share/locale/pt/LC_MESSAGES/genius.mo share/locale/sv/LC_MESSAGES/genius.mo @dirrm share/gnome/genius/plugins -@dirrm share/gnome/genius/gel/calculus -@dirrm share/gnome/genius/gel/combinatorics -@dirrm share/gnome/genius/gel/equation_solving -@dirrm share/gnome/genius/gel/functions -@dirrm share/gnome/genius/gel/linear_algebra -@dirrm share/gnome/genius/gel/misc -@dirrm share/gnome/genius/gel/number_theory @dirrm share/gnome/genius/gel/statistics +@dirrm share/gnome/genius/gel/number_theory +@dirrm share/gnome/genius/gel/misc +@dirrm share/gnome/genius/gel/linear_algebra +@dirrm share/gnome/genius/gel/functions +@dirrm share/gnome/genius/gel/equation_solving +@dirrm share/gnome/genius/gel/combinatorics +@dirrm share/gnome/genius/gel/calculus @dirrm share/gnome/genius/gel @dirrm share/gnome/genius @dirrm lib/genius >Release-Note: >Audit-Trail: >Unformatted: