diff options
author | Jason E. Hale <jhale@FreeBSD.org> | 2020-12-31 23:53:20 +0000 |
---|---|---|
committer | Jason E. Hale <jhale@FreeBSD.org> | 2020-12-31 23:53:20 +0000 |
commit | 1b7cb681fc9e5de2bff3d016c078d9705b49915e (patch) | |
tree | 210d038d2409a7c10de05187830f46b83876723a /editors/mp/files/patch-config.sh | |
parent | New port: textproc/mp_doccer (diff) |
editors/mp: Update to 5.44
Notes
Notes:
svn path=/head/; revision=559787
Diffstat (limited to 'editors/mp/files/patch-config.sh')
-rw-r--r-- | editors/mp/files/patch-config.sh | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/editors/mp/files/patch-config.sh b/editors/mp/files/patch-config.sh index 8e28d32b01d7..c0b973f9b083 100644 --- a/editors/mp/files/patch-config.sh +++ b/editors/mp/files/patch-config.sh @@ -1,4 +1,4 @@ ---- config.sh.orig 2020-05-16 07:31:22 UTC +--- config.sh.orig 2020-10-11 16:57:43 UTC +++ config.sh @@ -37,6 +37,7 @@ while [ $# -gt 0 ] ; do case $1 in @@ -8,7 +8,17 @@ --without-win32) WITHOUT_WIN32=1 ;; --with-kde4) WITHOUT_KDE4=0 ;; --without-qt) WITHOUT_QT5=1 && WITHOUT_QT4=1 ;; -@@ -71,6 +72,7 @@ if [ "$CONFIG_HELP" = "1" ] ; then +@@ -46,6 +47,9 @@ while [ $# -gt 0 ] ; do + --without-ansi) WITHOUT_ANSI=1 ;; + --with-external-arch) WITH_EXTERNAL_ARCH=1 ;; + --with-external-tar) WITH_EXTERNAL_ARCH=1 ;; ++ --with-docs) MORE_TARGETS="docs $MORE_TARGETS" ;; ++ --with-gettext) WITHOUT_MSGFMT=0 ;; ++ --with-manpages) MORE_TARGETS="mp-5.1 $MORE_TARGETS" ;; + --without-zip) WITHOUT_ZIP=1 ;; + --help) CONFIG_HELP=1 ;; + +@@ -73,6 +77,7 @@ if [ "$CONFIG_HELP" = "1" ] ; then echo "--prefix=PREFIX Installation prefix ($PREFIX)." echo "--without-curses Disable curses (text) interface detection." echo "--without-gtk Disable GTK interface detection." @@ -16,7 +26,7 @@ echo "--without-win32 Disable win32 interface detection." echo "--with-kde4 Enable KDE4 interface detection." echo "--without-qt Disable Qt interface detection." -@@ -203,9 +205,6 @@ echo +@@ -207,9 +212,6 @@ echo (cd $MPSL && ./config.sh --prefix=$PREFIX --docdir=$PREFIX/share/doc/$APPNAME $CONF_ARGS) echo @@ -26,7 +36,7 @@ cat $MPDM/config.ldflags >> config.ldflags cat $MPSL/config.ldflags >> config.ldflags -@@ -244,11 +243,11 @@ echo -n "Testing for ncursesw... " +@@ -248,11 +250,11 @@ echo -n "Testing for ncursesw... " if [ "$WITHOUT_CURSES" = "1" ] ; then echo "Disabled" else @@ -41,7 +51,7 @@ $CC $CFLAGS $TMP_CFLAGS .tmp.c $TMP_LDFLAGS -o .tmp.o 2>> .config.log if [ $? = 0 ] ; then -@@ -382,14 +381,14 @@ if [ "$WITHOUT_QT5" = "1" ] ; then +@@ -386,14 +388,14 @@ if [ "$WITHOUT_QT5" = "1" ] ; then else if which pkg-config > /dev/null 2>&1 then @@ -60,7 +70,7 @@ if [ $? = 0 ] ; then echo $TMP_CFLAGS >> config.cflags -@@ -475,15 +474,15 @@ else +@@ -479,15 +481,15 @@ else echo "int main(void) { gtk_main(); return 0; } " >> .tmp.c # Try first GTK 3.0 @@ -80,3 +90,12 @@ DRIVERS="gtk $DRIVERS" DRV_OBJS="mpv_gtk.o $DRV_OBJS" CFLAGS="$CFLAGS $TMP_CFLAGS" +@@ -625,7 +627,7 @@ if [ "$WITH_EXTERNAL_ARCH" = "1" ] ; then + echo "#define CONFOPT_EXTERNAL_ARCH 1" >> config.h + echo "#define ARCH_START NULL" >> config.h + echo "#define ARCH_END NULL" >> config.h +- MORE_TARGETS="mp.tar" ++ MORE_TARGETS="mp.tar $MORE_TARGETS" + MORE_INSTALL_TARGETS="install-tar $MORE_INSTALL_TARGETS" + fi + |