[SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (f2c97d495d842b19691ce3363148c9ec7989e699)

Juuso Alasuutari scm at mail.sourcemage.org
Fri Sep 29 02:32:57 EDT 2006


GIT changes to master grimoire by Juuso Alasuutari <iuso at sourcemage.org>:

 devel/pkgconfig/DETAILS                |    1 +
 devel/pkgconfig/HISTORY                |    5 +++++
 devel/pkgconfig/INSTALL                |    6 ++++++
 devel/pkgconfig/profile.d/pkgconfig.sh |    8 ++++++++
 4 files changed, 20 insertions(+)

New commits:
commit e956c65125fb2d952bff988155669f40174a11e9
Author: Juuso Alasuutari <iuso at sourcemage.org>
Commit: Juuso Alasuutari <iuso at sourcemage.org>

    pkgconfig: Re-added profile.d script, sorry for messing with it :(

diff --git a/devel/pkgconfig/DETAILS b/devel/pkgconfig/DETAILS
index b0723ca..1333a03 100755
--- a/devel/pkgconfig/DETAILS
+++ b/devel/pkgconfig/DETAILS
@@ -7,6 +7,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/pkg-co
       LICENSE[0]=GPL
         WEB_SITE=http://pkgconfig.freedesktop.org
          ENTERED=20010922
+      PATCHLEVEL=1
         KEYWORDS="devel"
            SHORT='A system for managing library compile/link flags.'
 cat << EOF
diff --git a/devel/pkgconfig/HISTORY b/devel/pkgconfig/HISTORY
index 623f025..6414144 100644
--- a/devel/pkgconfig/HISTORY
+++ b/devel/pkgconfig/HISTORY
@@ -1,4 +1,9 @@
 2006-09-29 Juuso Alasuutari <iuso at sourcemage.org>
+	* profile.d/pkgconfig.sh: Added, this is needed afterall...
+	* INSTALL: Added.
+	* DETAILS: Re-added PATCHLEVEL=1 (sorry).
+
+2006-09-29 Juuso Alasuutari <iuso at sourcemage.org>
 	* BUILD: Removed sedits && aclocal && autoconf, replaced with 
 	  --with-pc-path=/usr/lib/pkgconfig in OPTS.
 	* DEPENDS: Deleted, automake & libtool not needed without 
diff --git a/devel/pkgconfig/INSTALL b/devel/pkgconfig/INSTALL
new file mode 100755
index 0000000..ea118ad
--- /dev/null
+++ b/devel/pkgconfig/INSTALL
@@ -0,0 +1,6 @@
+default_install  &&
+
+if install_config_file ${SCRIPT_DIRECTORY}/profile.d/pkgconfig.sh \
+                       ${INSTALL_ROOT}/etc/profile.d/pkgconfig.sh; then
+  chmod 0755 ${INSTALL_ROOT}/etc/profile.d/pkgconfig.sh
+fi
diff --git a/devel/pkgconfig/profile.d/pkgconfig.sh b/devel/pkgconfig/profile.d/pkgconfig.sh
new file mode 100755
index 0000000..695dbe7
--- /dev/null
+++ b/devel/pkgconfig/profile.d/pkgconfig.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+# First check if this variable is already set
+# then if not set, check it (maybe), then set it
+
+if  [ -z "$PKG_CONFIG_PATH" ] ; then
+  PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/share/pkgconfig"
+fi
+export PKG_CONFIG_PATH



More information about the SM-Commit mailing list