diff options
author | marino <marino> | 2011-12-04 23:17:30 +0000 |
---|---|---|
committer | marino <marino> | 2011-12-04 23:17:30 +0000 |
commit | 4b0020f0e77ec32b4d73e49c47734561bbfcf2ed (patch) | |
tree | 5af118c62a1ea29671c673d78f296c4cfa56a30c /net/ekiga/patches | |
parent | 12c0077f5c0b45335a6d37cbcfcd2d380f573d83 (diff) | |
download | pkgsrc-4b0020f0e77ec32b4d73e49c47734561bbfcf2ed.tar.gz |
net/ekiga: Add DragonFly Support
To support DragonFly, only the configure script needed modification.
Diffstat (limited to 'net/ekiga/patches')
-rw-r--r-- | net/ekiga/patches/patch-configure | 36 | ||||
-rw-r--r-- | net/ekiga/patches/patch-configure.ac | 36 |
2 files changed, 72 insertions, 0 deletions
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" |