aboutsummaryrefslogtreecommitdiff
path: root/graphics/brlcad/profile.d
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/brlcad/profile.d')
-rw-r--r--graphics/brlcad/profile.d/brlcad.csh3
-rw-r--r--graphics/brlcad/profile.d/brlcad.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/brlcad/profile.d/brlcad.csh b/graphics/brlcad/profile.d/brlcad.csh
index fd94ce573aef8..bf01dd0ba7ded 100644
--- a/graphics/brlcad/profile.d/brlcad.csh
+++ b/graphics/brlcad/profile.d/brlcad.csh
@@ -1,4 +1,5 @@
#!/bin/csh
# Add path for brlcad:
setenv PATH ${PATH}:/opt/brlcad/bin
-
+# Add brlcad's pkgconfig to PKG_CONFIG_PATH
+setenv PKG_CONFIG_PATH /opt/brlcad/lib/pkgconfig:${PKG_CONFIG_PATH}
diff --git a/graphics/brlcad/profile.d/brlcad.sh b/graphics/brlcad/profile.d/brlcad.sh
index 080b4cf149a3b..e3a2c19a995fa 100644
--- a/graphics/brlcad/profile.d/brlcad.sh
+++ b/graphics/brlcad/profile.d/brlcad.sh
@@ -1,4 +1,5 @@
#!/bin/sh
# Add PATH for brlcad:
export PATH="$PATH:/opt/brlcad/bin"
-
+# Add brlcad's pkgconfig to PKG_CONFIG_PATH
+PKG_CONFIG_PATH="/opt/brlcad/lib/pkgconfig:$PKG_CONFIG_PATH"