ports/101444: [PATCH] deskutils/genius: fix depends, cleanup
Stanislav Sedov
ssedov at mbsd.msk.ru
Sat Aug 5 21:50:25 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list