summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhasso <hasso>2009-07-20 03:47:20 +0000
committerhasso <hasso>2009-07-20 03:47:20 +0000
commit338691199b02b18b75a2ad4dd40bc99ec798f6b0 (patch)
treef4748b266c283ba60968324a851e27007136612e
parent979b8258e00663c0b7edd18d9cf5a4fee5b3d820 (diff)
downloadpkgsrc-338691199b02b18b75a2ad4dd40bc99ec798f6b0.tar.gz
Make it build on DragonFly.
-rw-r--r--graphics/cqcam/distinfo4
-rw-r--r--graphics/cqcam/patches/patch-aj20
2 files changed, 17 insertions, 7 deletions
diff --git a/graphics/cqcam/distinfo b/graphics/cqcam/distinfo
index 96475a49f4a..da9d3c4bf29 100644
--- a/graphics/cqcam/distinfo
+++ b/graphics/cqcam/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2008/10/01 22:12:01 joerg Exp $
+$NetBSD: distinfo,v 1.12 2009/07/20 03:47:20 hasso Exp $
SHA1 (cqcam-0.91.tar.gz) = 28c78c9a24ae01b5a18d81e334f8c0dcab2ebe78
RMD160 (cqcam-0.91.tar.gz) = 4ef62b01985f834063a0e0941391b8d06428af7e
@@ -10,7 +10,7 @@ SHA1 (patch-ad) = fd16f489c4f39457a1b9759af505286da4a1ea42
SHA1 (patch-ae) = 233718279f45c8c65d5f629648ff9e8c95058df3
SHA1 (patch-af) = b60947db4ddd7760d67f2be2e10473c2e15eefb2
SHA1 (patch-ai) = a7983828e7e6836107a4e7567f79e47a13abb48d
-SHA1 (patch-aj) = b4f51a2e1653eb3a682e224fb241a312fbf922cf
+SHA1 (patch-aj) = de421de3e6efa6fc8c8396f57a5592159c4ac102
SHA1 (patch-ak) = 2eac9c0a00bc4ef06bf2eb9442784518eec4d1aa
SHA1 (patch-al) = 1792f71c88564577ec89c35543d98cd149c65c94
SHA1 (patch-am) = 2afb2a35b28df87536b6f48f1145e1eb624d276b
diff --git a/graphics/cqcam/patches/patch-aj b/graphics/cqcam/patches/patch-aj
index 1798e23bb44..a7761cf574d 100644
--- a/graphics/cqcam/patches/patch-aj
+++ b/graphics/cqcam/patches/patch-aj
@@ -1,12 +1,12 @@
-$NetBSD: patch-aj,v 1.3 2008/10/01 22:12:01 joerg Exp $
+$NetBSD: patch-aj,v 1.4 2009/07/20 03:47:20 hasso Exp $
Tags: not-for-upstream
We don't want xview at all. An additional problem is that on Solaris 10,
there is -lxview, but <xview/xview.h> is missing.
---- configure.orig 2001-07-11 22:58:54.000000000 +0200
-+++ configure 2007-01-17 03:12:56.435501068 +0100
+--- configure.orig 2001-07-11 22:58:54 +0200
++++ configure 2009-07-19 21:48:11 +0300
@@ -1634,7 +1634,7 @@ int main() {
xv_main_loop()
; return 0; }
@@ -16,7 +16,17 @@ there is -lxview, but <xview/xview.h> is missing.
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
-@@ -1951,6 +1951,18 @@ case "$host_os" in
+@@ -1946,11 +1946,28 @@ case "$host_os" in
+ OS_LDFLAGS='-L/usr/local/lib'
+ OS_LIBCQCAM_OBJS=''
+ ;;
++ dragonfly*)
++ OS_CFLAGS='-O2 -DFREEBSD'
++ OS_LDFLAGS=''
++ OS_LIBCQCAM_OBJS=''
++ ;;
+ bsdi*)
+ OS_CFLAGS='-O2 -I/usr/local/include -DBSDI'
OS_LDFLAGS='-L/usr/local/lib'
OS_LIBCQCAM_OBJS=''
;;
@@ -35,7 +45,7 @@ there is -lxview, but <xview/xview.h> is missing.
openbsd*)
OS_CFLAGS='-O2 -DOPENBSD'
OS_LDFLAGS='-L/usr/local/lib'
-@@ -1981,6 +1993,7 @@ esac
+@@ -1981,6 +1998,7 @@ esac
if test "$no_asm" = "yes"; then
OS_CFLAGS=$OS_CFLAGS' -DNO_ASM'
fi