ports/99813: [PATCH] mail/sylpheed-claws add WITH_DILLO knob, fix WITH_DEBUG
Pawel Pekala
c0rn at o2.pl
Wed Jul 5 18:02:58 UTC 2006
>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 at 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:
More information about the freebsd-ports-bugs
mailing list