summaryrefslogtreecommitdiff
path: root/multimedia/libdvdnav/files/patch-configure2
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2014-02-03 08:15:19 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2014-02-03 08:15:19 +0000
commit1e4183548ee4845cd53e53b88e74afcaff80efe3 (patch)
treee55c0b36117b2431eaac4b02ff6ef7fa05d46749 /multimedia/libdvdnav/files/patch-configure2
parentUse options helpers to reduce inclusions of bsd.port.options.mk (diff)
- Update libdvdread and libdvdnav to 4.2.1
- Bump dependent ports' revisions
Notes
Notes: svn path=/head/; revision=342392
Diffstat (limited to 'multimedia/libdvdnav/files/patch-configure2')
-rw-r--r--multimedia/libdvdnav/files/patch-configure221
1 files changed, 8 insertions, 13 deletions
diff --git a/multimedia/libdvdnav/files/patch-configure2 b/multimedia/libdvdnav/files/patch-configure2
index 41cc86591280..921c3884f688 100644
--- a/multimedia/libdvdnav/files/patch-configure2
+++ b/multimedia/libdvdnav/files/patch-configure2
@@ -1,6 +1,6 @@
---- configure2.orig 2011-10-07 22:20:59.000000000 +0200
-+++ configure2 2011-12-12 19:00:42.610336614 +0100
-@@ -26,6 +26,7 @@
+--- configure2.orig 2013-12-19 22:43:15.000000000 +0100
++++ configure2 2014-01-30 07:05:30.000000000 +0100
+@@ -27,6 +27,7 @@
echo " --help print this message"
echo " --prefix=PREFIX install in PREFIX [$PREFIX]"
echo " --libdir=DIR install libs in DIR [PREFIX/lib]"
@@ -8,7 +8,7 @@
echo " --shlibdir=DIR install shared libs in DIR [PREFIX/lib]"
echo " --incdir=DIR install includes in DIR [PREFIX/include/dvdnav]"
echo " --enable-static build static libraries [default=yes]"
-@@ -72,6 +73,8 @@
+@@ -76,6 +77,8 @@
;;
--libdir=*) libdir="$optval"
;;
@@ -17,7 +17,7 @@
--shlibdir=*) shlibdir="$optval"
;;
--incdir=*) incdir="$optval"
-@@ -97,9 +100,10 @@
+@@ -101,9 +104,10 @@
esac
done
@@ -29,7 +29,7 @@
test -z "$shlibdir" && shlibdir=$PREFIX/lib
test -z "$incdir" && incdir=$PREFIX/include/dvdnav
-@@ -123,10 +127,24 @@
+@@ -133,10 +137,24 @@
;;
esac
@@ -54,16 +54,11 @@
shlibdir=$shlibdir
incdir=$incdir
THREADLIB=$threadlib
-@@ -153,6 +171,12 @@
+@@ -163,6 +181,7 @@
/* Automatically generated by configure, do not edit */
#include "version.h"
EOF
-+if test "$bigendian" = "yes"
-+then
-+ echo "#define WORDS_BIGENDIAN" >> config.h
-+else
-+ echo "#undef WORDS_BIGENDIAN" >> config.h
-+fi
++test "$bigendian" = "yes" && echo "#define WORDS_BIGENDIAN" >> config.h || echo "#undef WORDS_BIGENDIAN" >> config.h
# build tree in object directory if source path is different from current one
if test "$source_path_used" != "no"; then