summaryrefslogtreecommitdiff
path: root/multimedia/sabbu
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-05-27 08:00:24 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-05-27 08:00:24 +0000
commitdbe0283471e55d9b069444bf39b7816e61680d27 (patch)
tree6e9d069b1a4af164ed073025a508154f072b8992 /multimedia/sabbu
parent- fix API breakage with ffmpeg (diff)
- fix API breakage with ffmpeg
- use gtkspell - new option WITHOUT_GTKSPELL
Notes
Notes: svn path=/head/; revision=191959
Diffstat (limited to 'multimedia/sabbu')
-rw-r--r--multimedia/sabbu/Makefile8
-rw-r--r--multimedia/sabbu/files/patch-common.h10
-rw-r--r--multimedia/sabbu/files/patch-configure11
3 files changed, 29 insertions, 0 deletions
diff --git a/multimedia/sabbu/Makefile b/multimedia/sabbu/Makefile
index 527913ba4ab0..fd593cb31fc9 100644
--- a/multimedia/sabbu/Makefile
+++ b/multimedia/sabbu/Makefile
@@ -37,4 +37,12 @@ USE_GETTEXT= yes
PLIST_SUB+= WITH_NLS=""
.endif
+ASPELL_PORT?= textproc/aspell
+.if !defined(WITHOUT_GTKSPELL)
+LIB_DEPENDS+= gtkspell.0:${PORTSDIR}/textproc/gtkspell
+PLIST_SUB+= WITH_ASPELL=""
+.else
+PLIST_SUB+= WITH_ASPELL="@comment "
+.endif
+
.include <bsd.port.mk>
diff --git a/multimedia/sabbu/files/patch-common.h b/multimedia/sabbu/files/patch-common.h
new file mode 100644
index 000000000000..ee337ff5b194
--- /dev/null
+++ b/multimedia/sabbu/files/patch-common.h
@@ -0,0 +1,10 @@
+--- Source/common.h.orig Wed Aug 10 17:29:30 2005
++++ Source/common.h Sun May 27 09:51:29 2007
+@@ -31,4 +31,7 @@
+ #include "alloc.h"
+ #include "util.h"
+
++#ifndef __STDC_CONSTANT_MACROS
++#define __STDC_CONSTANT_MACROS 1
++#endif
+
diff --git a/multimedia/sabbu/files/patch-configure b/multimedia/sabbu/files/patch-configure
new file mode 100644
index 000000000000..5aec633f3556
--- /dev/null
+++ b/multimedia/sabbu/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun Nov 27 01:30:25 2005
++++ configure Sun May 27 09:45:46 2007
+@@ -6320,6 +6320,8 @@
+ cat confdefs.h >>conftest.$ac_ext
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
++
++#define __STDC_CONSTANT_MACROS
+ #include <ffmpeg/avformat.h>
+ int
+ main ()