pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/dnsdist/patches



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Aug 22 20:32:22 UTC 2023

Added Files:
        pkgsrc/net/dnsdist/patches: patch-Makefile.in patch-configure

Log Message:
dnsdist: add patches


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/dnsdist/patches/patch-Makefile.in \
    pkgsrc/net/dnsdist/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/net/dnsdist/patches/patch-Makefile.in
diff -u /dev/null pkgsrc/net/dnsdist/patches/patch-Makefile.in:1.1
--- /dev/null   Tue Aug 22 20:32:22 2023
+++ pkgsrc/net/dnsdist/patches/patch-Makefile.in        Tue Aug 22 20:32:22 2023
@@ -0,0 +1,30 @@
+$NetBSD: patch-Makefile.in,v 1.1 2023/08/22 20:32:22 adam Exp $
+
+Install example configuration into examples/.
+
+--- Makefile.in.orig   2023-08-21 13:18:32.000000000 +0000
++++ Makefile.in
+@@ -1634,18 +1634,18 @@ uninstall-man1:
+       dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      @list='$(sysconf_DATA)'; test -n "$(sysconfdir)" || list=; \
++      @list='$(sysconf_DATA)'; test -n "$(datarootdir)" || list=; \
+       if test -n "$$list"; then \
+-        echo " $(MKDIR_P) '$(DESTDIR)$(sysconfdir)'"; \
+-        $(MKDIR_P) "$(DESTDIR)$(sysconfdir)" || exit 1; \
++        echo " $(MKDIR_P) '$(DESTDIR)$(datarootdir)/examples/dnsdist'"; \
++        $(MKDIR_P) "$(DESTDIR)$(datarootdir)/examples/dnsdist" || exit 1; \
+       fi; \
+       for p in $$list; do \
+         if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+         echo "$$d$$p"; \
+       done | $(am__base_list) | \
+       while read files; do \
+-        echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(sysconfdir)'"; \
+-        $(INSTALL_DATA) $$files "$(DESTDIR)$(sysconfdir)" || exit $$?; \
++        echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(datarootdir)/examples/dnsdist'"; \
++        $(INSTALL_DATA) $$files "$(DESTDIR)$(datarootdir)/examples/dnsdist" || exit $$?; \
+       done
+ 
+ uninstall-sysconfDATA:
Index: pkgsrc/net/dnsdist/patches/patch-configure
diff -u /dev/null pkgsrc/net/dnsdist/patches/patch-configure:1.1
--- /dev/null   Tue Aug 22 20:32:22 2023
+++ pkgsrc/net/dnsdist/patches/patch-configure  Tue Aug 22 20:32:22 2023
@@ -0,0 +1,65 @@
+$NetBSD: patch-configure,v 1.1 2023/08/22 20:32:22 adam Exp $
+
+Portability fixes.
+
+--- configure.orig     2023-08-21 07:08:41.000000000 +0000
++++ configure
+@@ -23832,11 +23832,11 @@ fi
+   if test "x$enable_fortify_source" != "xno"; then :
+ 
+ 
+-        if test "x$enable_fortify_source" == "xauto"; then :
++        if test "x$enable_fortify_source" = "xauto"; then :
+   enable_fortify_source=3
+ fi
+ 
+-        if test "x$enable_fortify_source" == "x3"; then :
++        if test "x$enable_fortify_source" = "x3"; then :
+ 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=3" >&5
+ $as_echo_n "checking whether C++ compiler handles -D_FORTIFY_SOURCE=3... " >&6; }
+@@ -23881,7 +23881,7 @@ fi
+ 
+ fi
+ 
+-        if test "x$enable_fortify_source" == "x2"; then :
++        if test "x$enable_fortify_source" = "x2"; then :
+ 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=2" >&5
+ $as_echo_n "checking whether C++ compiler handles -D_FORTIFY_SOURCE=2... " >&6; }
+@@ -23926,7 +23926,7 @@ fi
+ 
+ fi
+ 
+-    if test "x$enable_fortify_source" == "x1"; then :
++    if test "x$enable_fortify_source" = "x1"; then :
+ 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -D_FORTIFY_SOURCE=1" >&5
+ $as_echo_n "checking whether C++ compiler handles -D_FORTIFY_SOURCE=1... " >&6; }
+@@ -24586,7 +24586,7 @@ fi
+   if test "x$enable_lto" != "xno"; then :
+ 
+ 
+-        if test "x$enable_lto" == "xthin"; then :
++        if test "x$enable_lto" = "xthin"; then :
+ 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=thin" >&5
+ $as_echo_n "checking whether C++ compiler handles -flto=thin... " >&6; }
+@@ -24632,7 +24632,7 @@ fi
+ 
+ fi
+ 
+-        if test "x$enable_lto" == "xauto"; then :
++        if test "x$enable_lto" = "xauto"; then :
+ 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto=auto" >&5
+ $as_echo_n "checking whether C++ compiler handles -flto=auto... " >&6; }
+@@ -24678,7 +24678,7 @@ fi
+ 
+ fi
+ 
+-    if test "x$enable_lto" == "xyes"; then :
++    if test "x$enable_lto" = "xyes"; then :
+ 
+       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler handles -flto" >&5
+ $as_echo_n "checking whether C++ compiler handles -flto... " >&6; }



Home | Main Index | Thread Index | Old Index