Date: Wed, 4 Jun 2003 22:18:46 +0900 From: KATO Tsuguru <tkato@prontomail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52931: Update port: deskutils/genius Message-ID: <20030604221846.506b32cc.tkato@prontomail.com> Resent-Message-ID: <200306041320.h54DKEtI091850@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.pre.mk> -.include <bsd.port.mk> +.if ${OSVERSION} < 500018 +BROKEN= "Requires readline 4.2 or newer" +.endif + +.include <bsd.port.post.mk> 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 <signal.h> + #ifdef HAVE_WORDEXP + #include <wordexp.h> ++#else ++#include <glob.h> + #endif + #include <stdio.h> + #include <string.h> +@@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030604221846.506b32cc.tkato>