How to install sylpheed.desktop by ports system?
Norikatsu Shigemura
nork at FreeBSD.org
Sat Apr 8 02:51:25 UTC 2006
Hi gnome ports maintainers!
I have a problem about mail/sylpheed2 (based mail/sylpheed2-devel).
It's a WITH_GNOME knob. I didn't know how to install sylpheed.desktop
if GNOME is installed. But I noticed how to fix it. However, :-),
I don't know that following patch is good or bad.
So please review it.
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/sylpheed2/Makefile,v
retrieving revision 1.134
diff -u -r1.134 Makefile
--- Makefile 5 Apr 2006 04:14:21 -0000 1.134
+++ Makefile 8 Apr 2006 02:46:21 -0000
@@ -22,7 +22,7 @@
USE_X_PREFIX= yes
USE_GNOME= gtk20
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
+WANT_GNOME= yes
# Sylpheed needs pthread if GnomeVFS is installed (GtkFileChooser uses it)
CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
@@ -89,7 +89,8 @@
CONFIGURE_ARGS+=--disable-gtkspell
.endif
-.if defined(WITH_GNOME)
+.if ${HAVE_GNOME:Mgnomehier} != ""
+USE_GNOME+= gnomehier
PLIST_FILES= share/gnome/applications/sylpheed.desktop \
share/gnome/pixmaps/sylpheed.png
.endif
More information about the freebsd-gnome
mailing list