Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 2006 11:50:43 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        freebsd-gnome@FreeBSD.org
Cc:        oliver@FreeBSD.org
Subject:   How to install sylpheed.desktop by ports system?
Message-ID:  <20060408115043.01ccceb9.nork@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060408115043.01ccceb9.nork>