summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2011-12-04 23:17:30 +0000
committermarino <marino@pkgsrc.org>2011-12-04 23:17:30 +0000
commit3983359de8b99353b103f9030a5a7977e4f56748 (patch)
tree5af118c62a1ea29671c673d78f296c4cfa56a30c
parent8da918811598775d76da09fdf745569ade2cd5ff (diff)
downloadpkgsrc-3983359de8b99353b103f9030a5a7977e4f56748.tar.gz
net/ekiga: Add DragonFly Support
To support DragonFly, only the configure script needed modification.
-rw-r--r--net/ekiga/distinfo4
-rw-r--r--net/ekiga/patches/patch-configure36
-rw-r--r--net/ekiga/patches/patch-configure.ac36
3 files changed, 75 insertions, 1 deletions
diff --git a/net/ekiga/distinfo b/net/ekiga/distinfo
index e122067823a..12ee1026d7f 100644
--- a/net/ekiga/distinfo
+++ b/net/ekiga/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.8 2009/11/17 19:50:57 wiz Exp $
+$NetBSD: distinfo,v 1.9 2011/12/04 23:17:30 marino Exp $
SHA1 (ekiga-3.2.6.tar.bz2) = 1c9d2004aa57643a951c1d454e9cfb207143c021
RMD160 (ekiga-3.2.6.tar.bz2) = f53fe740856e4a4c5b6141086ba25288aabe51ac
Size (ekiga-3.2.6.tar.bz2) = 8257285 bytes
+SHA1 (patch-configure) = 2aa9145b6b790dcc4dbb63de47ebf663d059c26e
+SHA1 (patch-configure.ac) = a27f2712f9b3f2fa9020d85de87cae78d30ad9bb
diff --git a/net/ekiga/patches/patch-configure b/net/ekiga/patches/patch-configure
new file mode 100644
index 00000000000..88c826dfc9f
--- /dev/null
+++ b/net/ekiga/patches/patch-configure
@@ -0,0 +1,36 @@
+$NetBSD: patch-configure,v 1.1 2011/12/04 23:17:30 marino Exp $
+
+--- configure.orig 2011-12-04 22:20:18.931590000 +0000
++++ configure
+@@ -15361,6 +15361,10 @@ case $target_os in
+ gm_platform="linux"
+ ;;
+
++ DragonFly* | dragonfly* )
++ gm_platform="freebsd"
++ ;;
++
+ FreeBSD* | freebsd* | kfreebsd* | NetBSD* | netbsd* )
+ gm_platform="freebsd"
+ ;;
+@@ -15551,7 +15555,7 @@ CC="$lt_save_CC"
+ ;;
+
+ *)
+- as_fn_error "Only Linux, FreeBSD, NetBSD, Solaris and Mac OS X are supported. Please contact the author to know how you can add more OS types." "$LINENO" 5
++ as_fn_error "Only Linux, DragonFly, FreeBSD, NetBSD, Solaris and Mac OS X are supported. Please contact the author to know how you can add more OS types." "$LINENO" 5
+ ;;
+ esac
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+@@ -15578,6 +15582,11 @@ case $target_os in
+ ARCH_OPAL_LIBS="-lpt -lopal -ldl -lpthread"
+ ;;
+
++ DragonFly* | dragonfly* )
++ ARCH_PTLIB_CFLAGS="-DPTRACING -DNDEBUG -Os -g"
++ ARCH_OPAL_LIBS="-lpt -lopal -lpthread"
++ ;;
++
+ FreeBSD* | freebsd* | NetBSD* | netbsd* )
+ ARCH_PTLIB_CFLAGS="-DPTRACING -DNDEBUG -Os -g"
+ ARCH_OPAL_LIBS="-lpt -lopal -lpthread"
diff --git a/net/ekiga/patches/patch-configure.ac b/net/ekiga/patches/patch-configure.ac
new file mode 100644
index 00000000000..448d3920d38
--- /dev/null
+++ b/net/ekiga/patches/patch-configure.ac
@@ -0,0 +1,36 @@
+$NetBSD: patch-configure.ac,v 1.1 2011/12/04 23:17:30 marino Exp $
+
+--- configure.ac.orig 2011-12-04 22:15:27.922631000 +0000
++++ configure.ac
+@@ -91,6 +91,10 @@ case $target_os in
+ gm_platform="linux"
+ ;;
+
++ DragonFly* | dragonfly* )
++ gm_platform="freebsd"
++ ;;
++
+ FreeBSD* | freebsd* | kfreebsd* | NetBSD* | netbsd* )
+ gm_platform="freebsd"
+ ;;
+@@ -109,7 +113,7 @@ case $target_os in
+ ;;
+
+ *)
+- AC_MSG_ERROR([Only Linux, FreeBSD, NetBSD, Solaris and Mac OS X are supported. Please contact the author to know how you can add more OS types.])
++ AC_MSG_ERROR([Only Linux, DragonFly, FreeBSD, NetBSD, Solaris and Mac OS X are supported. Please contact the author to know how you can add more OS types.])
+ ;;
+ esac
+ AC_MSG_RESULT([yes])
+@@ -129,6 +133,11 @@ case $target_os in
+ ARCH_OPAL_LIBS="-lpt -lopal -ldl -lpthread"
+ ;;
+
++ DragonFly* | dragonfly* )
++ ARCH_PTLIB_CFLAGS="-DPTRACING -DNDEBUG -Os -g"
++ ARCH_OPAL_LIBS="-lpt -lopal -lpthread"
++ ;;
++
+ FreeBSD* | freebsd* | NetBSD* | netbsd* )
+ ARCH_PTLIB_CFLAGS="-DPTRACING -DNDEBUG -Os -g"
+ ARCH_OPAL_LIBS="-lpt -lopal -lpthread"