Date: Sun, 6 Aug 2006 01:00:32 +0400 (MSD) From: Stanislav Sedov <ssedov@mbsd.msk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/101444: [PATCH] deskutils/genius: fix depends, cleanup Message-ID: <20060805210032.6F95912513@fonon.realnet> Resent-Message-ID: <200608052150.k75LoMpu093013@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 101444 >Category: ports >Synopsis: [PATCH] deskutils/genius: fix depends, cleanup >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: Sat Aug 05 21:50:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Stanislav Sedov >Release: FreeBSD 7.0-CURRENT i386 >Organization: MBSD labs, Inc. >Environment: System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug 2 21:44:37 MSD >Description: - Add readline as dependency when it was already installed. The program will be linked against it anyway, not against a system one. - Define USE_GETTEXT to make portlint happy - Define INSTALLS_ICONS to update icon cache >How-To-Repeat: >Fix: --- genius-0.7.4_3.patch begins here --- diff -ruN --exclude=CVS /usr/ports/deskutils/genius/Makefile /var/tmp/genius/Makefile --- /usr/ports/deskutils/genius/Makefile Thu Feb 23 13:35:16 2006 +++ /var/tmp/genius/Makefile Sun Aug 6 00:57:26 2006 @@ -19,6 +19,7 @@ LIB_DEPENDS= mpfr.1:${PORTSDIR}/math/mpfr USE_X_PREFIX= yes +USE_GETTEXT= yes USE_GNOME= gnomehack gnomeprefix gnometarget gtksourceview intlhack \ libgnomeui vte USE_GMAKE= yes @@ -28,12 +29,16 @@ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --disable-extra-gcc-optimization INSTALLS_OMF= yes +INSTALLS_ICONS= yes .include <bsd.port.pre.mk> +.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5) +LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline +.endif + .if ${OSVERSION} < 500018 BROKEN= Does not compile on 4.x -LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline .endif .include <bsd.port.post.mk> --- genius-0.7.4_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060805210032.6F95912513>