pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/cqcam Make it build on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/650d0b7206c2
branches:  trunk
changeset: 396201:650d0b7206c2
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Mon Jul 20 03:47:20 2009 +0000

description:
Make it build on DragonFly.

diffstat:

 graphics/cqcam/distinfo         |   4 ++--
 graphics/cqcam/patches/patch-aj |  20 +++++++++++++++-----
 2 files changed, 17 insertions(+), 7 deletions(-)

diffs (65 lines):

diff -r 72818640afcf -r 650d0b7206c2 graphics/cqcam/distinfo
--- a/graphics/cqcam/distinfo   Mon Jul 20 03:43:07 2009 +0000
+++ b/graphics/cqcam/distinfo   Mon Jul 20 03:47:20 2009 +0000
@@ -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-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 -r 72818640afcf -r 650d0b7206c2 graphics/cqcam/patches/patch-aj
--- a/graphics/cqcam/patches/patch-aj   Mon Jul 20 03:43:07 2009 +0000
+++ b/graphics/cqcam/patches/patch-aj   Mon Jul 20 03:47:20 2009 +0000
@@ -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 @@
    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 @@
    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



Home | Main Index | Thread Index | Old Index