openbsd-ports/news/tin/patches/patch-configure_in
2020-01-24 16:01:19 +00:00

41 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.5 2020/01/24 16:01:19 giovanni Exp $
Index: configure.in
--- configure.in.orig
+++ configure.in
@@ -900,13 +900,15 @@ fi
### Checks for libraries.
# libuu/uudeview
# only define HAVE_LIBUU and HAVE_UUDEVIEW_H if both are found
-AC_CHECK_LIB(uu, UUInitialize,
- [AC_CHECK_HEADER(uudeview.h,
- [AC_DEFINE(HAVE_LIBUU)
- AC_DEFINE(HAVE_UUDEVIEW_H)
- LIBS="$LIBS -luu"]
- )]
-)
+dnl Disable to make sure the package does not change if someone ever ports this
+dnl
+dnl AC_CHECK_LIB(uu, UUInitialize,
+dnl [AC_CHECK_HEADER(uudeview.h,
+dnl [AC_DEFINE(HAVE_LIBUU)
+dnl AC_DEFINE(HAVE_UUDEVIEW_H)
+dnl LIBS="$LIBS -luu"]
+dnl )]
+dnl )
# ICU - International Components for Unicode
@@ -1235,7 +1237,11 @@ CF_TERMIOS
CF_PW_GECOS
CF_TM_GMTOFF
-AC_SYS_LONG_FILE_NAMES
+dnl AC_SYS_LONG_FILE_NAMES tries to write to /usr and thus fails if /usr is
+dnl mounted read-only. Since OpenBSD always supports long filenames, set the
+dnl flag unconditionally.
+dnl AC_SYS_LONG_FILE_NAMES
+AC_DEFINE(HAVE_LONG_FILE_NAMES)
CF_FUNC_SYSTEM
# Check if we are trying to use curses+color, but cannot