15 lines
501 B
Diff
15 lines
501 B
Diff
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@)
|