Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 19:57:13 +0200
From:      "Pawel Pekala" <c0rn@o2.pl>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        netchild@FreeBSD.org
Subject:   ports/99813: [PATCH] mail/sylpheed-claws add WITH_DILLO knob, fix WITH_DEBUG
Message-ID:  <1152122233.28764@blaviken.slowicza.org>
Resent-Message-ID: <200607051800.k65I0bux006056@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99813
>Category:       ports
>Synopsis:       [PATCH] mail/sylpheed-claws add WITH_DILLO knob, fix WITH_DEBUG
>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:   Wed Jul 05 18:00:37 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Pawel Pekala
>Release:        FreeBSD 5.5-RELEASE i386
>Organization:
>Environment:


System: FreeBSD 5.5-RELEASE #5: Mon May 29 17:57:41 CEST 2006
    root@blaviken.slowicza.org:/usr/src/sys/i386/compile/CORN



>Description:


- add WITH_DILLO knob and optionally depend on www/dillo
- don`t strip binaries when building with WITH_DEBUG


>How-To-Repeat:





>Fix:


--- claws.diff begins here ---
diff -ur /usr/ports/mail/sylpheed-claws/Makefile sylpheed-claws/Makefile
--- /usr/ports/mail/sylpheed-claws/Makefile	Mon Jul  3 18:03:34 2006
+++ sylpheed-claws/Makefile	Wed Jul  5 19:52:05 2006
@@ -52,6 +52,7 @@
 		CLAMAV		"Enable virus-checking support."	off \
 		COMPFACE	"Enable X-Face support."		on \
 		DEBUG		"Enable debug support."			off \
+		DILLO		"Enable Dillo HTML viewer."	off \
 		GNOMEPRINT	"Enable extended print support (GNOME)."	off \
 		GPGME		"Enable PGP/GnuPG support using GPGME."	off \
 		JPILOT		"Enable JPilot support."		off \
@@ -145,6 +146,14 @@
 .endif
 .if defined(WITH_DEBUG) || defined(WITH_ALL)
 CONFIGURE_ARGS+=	--enable-maintainer-mode --enable-crash-dialog
+STRIP=	''
+.endif
+.if defined(WITH_DILLO) || defined(WITH_ALL)
+PLIST_SUB+=	DILLO=""
+RUN_DEPENDS+=	dillo:${PORTSDIR}/www/dillo
+.else
+PLIST_SUB+=	DILLO="@comment "
+CONFIGURE_ARGS+=	--disable-dillo-viewer-plugin
 .endif
 
 post-extract:
diff -ur /usr/ports/mail/sylpheed-claws/pkg-plist sylpheed-claws/pkg-plist
--- /usr/ports/mail/sylpheed-claws/pkg-plist	Mon Jul  3 18:03:34 2006
+++ sylpheed-claws/pkg-plist	Wed Jul  5 19:41:15 2006
@@ -201,9 +201,9 @@
 %%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin.a
 %%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin.la
 %%CLAM_PLUG%%lib/sylpheed-claws/plugins/clamav_plugin.so
-lib/sylpheed-claws/plugins/dillo_viewer.a
-lib/sylpheed-claws/plugins/dillo_viewer.la
-lib/sylpheed-claws/plugins/dillo_viewer.so
+%%DILLO%%lib/sylpheed-claws/plugins/dillo_viewer.a
+%%DILLO%%lib/sylpheed-claws/plugins/dillo_viewer.la
+%%DILLO%%lib/sylpheed-claws/plugins/dillo_viewer.so
 %%GPGME%%lib/sylpheed-claws/plugins/pgpcore.a
 %%GPGME%%lib/sylpheed-claws/plugins/pgpcore.la
 %%GPGME%%lib/sylpheed-claws/plugins/pgpcore.so
--- claws.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



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