aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/plplot/pkgconfig-template.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/plplot/pkgconfig-template.diff')
-rw-r--r--vcpkg/ports/plplot/pkgconfig-template.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/plplot/pkgconfig-template.diff b/vcpkg/ports/plplot/pkgconfig-template.diff
new file mode 100644
index 0000000..d123bbd
--- /dev/null
+++ b/vcpkg/ports/plplot/pkgconfig-template.diff
@@ -0,0 +1,14 @@
+diff --git a/pkgcfg/plplot-template.pc.in b/pkgcfg/plplot-template.pc.in
+index 7c1310e..4656c03 100644
+--- a/pkgcfg/plplot-template.pc.in
++++ b/pkgcfg/plplot-template.pc.in
+@@ -1,6 +1,7 @@
+-libdir=@LIB_DIR@
++prefix=${pcfiledir}/../..
++libdir=${prefix}/@LIB_DIR@
+ includedir=@INCLUDE_DIR@
+-drvdir=@LIB_DIR@/plplot@PLPLOT_VERSION@/drivers
++drvdir=${prefix}/@LIB_DIR@/plplot@PLPLOT_VERSION@/drivers
+
+ Name: PLplot @PC_SHORT_NAME@
+ Description: Scientific plotting library (@PC_PRECISION@@PC_LONG_NAME@)