From a6b3c2b55510005a4e57916493b5e4d36c757407 Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sun, 6 Aug 2006 05:40:13 +0000 Subject: - 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 PR: ports/101444 Submitted by: Stanislav Sedov --- deskutils/genius/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'deskutils/genius') diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile index 39299faa252d..f266eac21319 100644 --- a/deskutils/genius/Makefile +++ b/deskutils/genius/Makefile @@ -19,6 +19,7 @@ COMMENT= Arbitrary precision calculator for Gnome Desktop Environment 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 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" CONFIGURE_ARGS= --disable-extra-gcc-optimization INSTALLS_OMF= yes +INSTALLS_ICONS= yes .include +.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 -- cgit v1.2.3