ports/net-p2p/microdc2/files/patch-configure
Alexey Dokuchaev 668e3088a2 net-p2p/microdc2: unbreak the build and undeprecate this useful port
- Hardcode results of libxml2 version checks so it won't break again
- Do not inhibit manpage installation, but adjust translation's path
2023-10-30 11:21:44 +00:00

36 lines
1.4 KiB
Text

--- configure.orig 2006-12-24 18:45:07 UTC
+++ configure
@@ -21501,14 +21501,14 @@ fi
if test -n "$XML_CONFIG" && test -n "$TR"; then
LIBXML2_VERSION=`$XML_CONFIG --version | $TR -d "."`
- if test $LIBXML2_VERSION -eq 2616; then
+ if false; then
cat >>confdefs.h <<\_ACEOF
#define XML_SAVE_FORMAT 1
_ACEOF
fi
- if test $LIBXML2_VERSION -ge 2616; then
+ if true; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBXML2 1
_ACEOF
@@ -22197,7 +22197,7 @@ fi
# Checks for library functions
# Output generation
-ac_config_files="$ac_config_files Makefile po/Makefile.in lib/Makefile src/Makefile src/common/Makefile src/bzip2/Makefile src/tth/Makefile rpm/microdc.spec"
+ac_config_files="$ac_config_files Makefile po/Makefile.in lib/Makefile src/Makefile src/common/Makefile src/tth/Makefile rpm/microdc.spec"
ac_config_files="$ac_config_files slackware/microdc.SlackBuild"
@@ -22793,7 +22793,6 @@ do
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
"src/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/common/Makefile" ;;
- "src/bzip2/Makefile") CONFIG_FILES="$CONFIG_FILES src/bzip2/Makefile" ;;
"src/tth/Makefile") CONFIG_FILES="$CONFIG_FILES src/tth/Makefile" ;;
"rpm/microdc.spec") CONFIG_FILES="$CONFIG_FILES rpm/microdc.spec" ;;
"slackware/microdc.SlackBuild") CONFIG_FILES="$CONFIG_FILES slackware/microdc.SlackBuild" ;;