aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2011-09-10 21:36:48 +0800
committergerald <gerald@FreeBSD.org>2011-09-10 21:36:48 +0800
commitdaa569156fe9fa3dbfc7ddf7ea3d46fa44f172da (patch)
treee399f1235f46de0cbd36fbb6c7c4926a25b5c985
parent3da938771247b928b409ccfeadf330e8726dda92 (diff)
downloadfreebsd-ports-gnome-daa569156fe9fa3dbfc7ddf7ea3d46fa44f172da.tar.gz
freebsd-ports-gnome-daa569156fe9fa3dbfc7ddf7ea3d46fa44f172da.tar.zst
freebsd-ports-gnome-daa569156fe9fa3dbfc7ddf7ea3d46fa44f172da.zip
Also update ccache links (when appropriate) in case of package
installation and deinstallation. My code for handling the port installation case sneaked in via the previous commit. PR: 155568 Submitted by: ehaupt
-rw-r--r--lang/gcc/pkg-plist2
-rw-r--r--lang/gcc46/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc/pkg-plist b/lang/gcc/pkg-plist
index b307b7b175af..d9851de1fd80 100644
--- a/lang/gcc/pkg-plist
+++ b/lang/gcc/pkg-plist
@@ -47,4 +47,6 @@ share/gcc-%%GCC_VER%%/python/libstdcxx/v6/printers.py
%%JAVA%%share/java/ecj.jar
%%JAVA%%share/java/libgcj-%%GCC_VER%%.jar
%%JAVA%%share/java/libgcj-tools-%%GCC_VER%%.jar
+@exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
+@unexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
@comment Insert PLIST.lib here
diff --git a/lang/gcc46/pkg-plist b/lang/gcc46/pkg-plist
index b307b7b175af..d9851de1fd80 100644
--- a/lang/gcc46/pkg-plist
+++ b/lang/gcc46/pkg-plist
@@ -47,4 +47,6 @@ share/gcc-%%GCC_VER%%/python/libstdcxx/v6/printers.py
%%JAVA%%share/java/ecj.jar
%%JAVA%%share/java/libgcj-%%GCC_VER%%.jar
%%JAVA%%share/java/libgcj-tools-%%GCC_VER%%.jar
+@exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
+@unexec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi
@comment Insert PLIST.lib here