pkgsrc-ng/x11/mlterm/patches/patch-configure
2013-09-26 17:14:40 +02:00

49 lines
1.7 KiB
Plaintext

$NetBSD: patch-configure,v 1.3 2013/06/29 20:29:47 tsutsui Exp $
- setuid root is handled by SPECIAL_PERMS in pkgsrc
- pull post-3.2.1 fixes:
http://mlterm.sf.net/mlterm-3.2.1-fixes.patch
> Fix configure error which --with-gui=xlib,fb option causes.
> (enbugged at 3.2.1)
--- configure.orig 2013-06-29 12:45:20.000000000 +0000
+++ configure
@@ -19758,11 +19758,16 @@ if test "$gui" = "fb,xlib" -o "$gui" = "
fi
mkdir -p ${top_srcdir-$srcdir}/fb
for file in ChangeLog Makefile.in common configure etc gtk inputmethod java \
- main man mlterm script scrollbar xwindow ; do
+ main man mlterm script scrollbar xwindow doc ; do
cp -R ${top_srcdir-$srcdir}/$file ${top_srcdir-$srcdir}/fb/
done
fi
+if test "$gui" = "fb" ; then
+ MAKE_DIRS="doc/kbd ${MAKE_DIRS}"
+ OUTPUT_FILES="doc/kbd/Makefile ${OUTPUT_FILES}"
+fi
+
ml_cv_is_posix="yes"
case "${host_os}" in
@@ -21332,7 +21337,7 @@ else
fi
if test "$gui" = "fb" ; then
- INSTALL_OPT="-m 4755 -o root"
+ INSTALL_OPT=""
fi
@@ -25229,8 +25234,8 @@ subdirs="$subdirs ${SUBDIRS}"
fi
-MAKE_DIRS="mlterm mlterm/libctl xwindow/libtype xwindow main man etc doc/kbd ${MAKE_DIRS}"
-OUTPUT_FILES="Makefile mlterm/Makefile mlterm/libctl/Makefile xwindow/libtype/Makefile xwindow/Makefile main/Makefile man/Makefile etc/Makefile java/Makefile doc/kbd/Makefile ${OUTPUT_FILES}"
+MAKE_DIRS="mlterm mlterm/libctl xwindow/libtype xwindow main man etc ${MAKE_DIRS}"
+OUTPUT_FILES="Makefile mlterm/Makefile mlterm/libctl/Makefile xwindow/libtype/Makefile xwindow/Makefile main/Makefile man/Makefile etc/Makefile java/Makefile ${OUTPUT_FILES}"
# Check whether --enable-ind was given.
if test "${enable_ind+set}" = set; then :