fix that pkgconfdir is only different on FreeBSD

Sun, 30 Nov 2025 14:33:19 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 30 Nov 2025 14:33:19 +0100
changeset 1528
6a687a7caed8
parent 1527
9661e947eec1
child 1529
a145f47cc0a7

fix that pkgconfdir is only different on FreeBSD

configure file | annotate | diff | comparison | revisions
make/project.xml file | annotate | diff | comparison | revisions
--- a/configure	Sun Nov 30 14:10:56 2025 +0100
+++ b/configure	Sun Nov 30 14:33:19 2025 +0100
@@ -115,7 +115,7 @@
     fi
 fi
 if true \
-    && isplatform "bsd" \
+    && isplatform "freebsd" \
       ; then
     :
     if test -z "$pkgconfigdir__described__"; then
@@ -126,7 +126,7 @@
     fi
 fi
 if true \
-      && notisplatform "bsd" \
+      && notisplatform "freebsd" \
       ; then
     :
     if test -z "$pkgconfigdir__described__"; then
@@ -251,7 +251,7 @@
     fi
 fi
 if true \
-    && isplatform "bsd" \
+    && isplatform "freebsd" \
       ; then
     :
     if test -z "$pkgconfigdir__initialized__"; then
@@ -260,7 +260,7 @@
     fi
 fi
 if true \
-      && notisplatform "bsd" \
+      && notisplatform "freebsd" \
       ; then
     :
     if test -z "$pkgconfigdir__initialized__"; then
--- a/make/project.xml	Sun Nov 30 14:10:56 2025 +0100
+++ b/make/project.xml	Sun Nov 30 14:33:19 2025 +0100
@@ -19,12 +19,12 @@
         <var name="COPYALL">/bin/cp -f -R</var>
         <var name="SYMLINK">/bin/ln -s</var>
     </config>
-    <config platform="bsd">
+    <config platform="freebsd">
         <var name="pkgconfigdir" option-help="location of the *.pc files">
             ${exec_prefix}/libdata/pkgconfig
         </var>
     </config>
-    <config not="bsd">
+    <config not="freebsd">
         <var name="pkgconfigdir" option-help="location of the *.pc files">
             ${libdir}/pkgconfig
         </var>

mercurial