aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-01-25 22:46:10 +0000
committerClement Laforet <clement@FreeBSD.org>2004-01-25 22:46:10 +0000
commit8e52869b50705e998be5142346a8946de35bf2be (patch)
tree075672485e496fde9174eb8d509d9377c7a161ad
parentb134e9024347cb8d8426730b7225ad1810c598b6 (diff)
downloadports-8e52869b50705e998be5142346a8946de35bf2be.tar.gz
ports-8e52869b50705e998be5142346a8946de35bf2be.zip
Notes
-rw-r--r--devel/ocaml-pcre/pkg-plist1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/ocaml-pcre/pkg-plist b/devel/ocaml-pcre/pkg-plist
index b23afa773098..72864d9724d7 100644
--- a/devel/ocaml-pcre/pkg-plist
+++ b/devel/ocaml-pcre/pkg-plist
@@ -7,4 +7,5 @@ lib/ocaml/site-lib/pcre/pcre.cma
lib/ocaml/site-lib/pcre/pcre.cmi
lib/ocaml/site-lib/pcre/pcre.mli
@dirrm lib/ocaml/site-lib/pcre
+@exec echo "Updating %D/lib/ocaml/ld.conf"; if (! grep -q "lib/ocaml/site-lib/pcre" %D/lib/ocaml/ld.conf); then echo "%D/lib/ocaml/site-lib/pcre" >> %D/lib/ocaml/ld.conf; fi;
@unexec echo "Updating %D/lib/ocaml/ld.conf"; cp %D/lib/ocaml/ld.conf %D/lib/ocaml/ld.conf.tmp; grep -v "lib/ocaml/site-lib/pcre" %D/lib/ocaml/ld.conf.tmp > %D/lib/ocaml/ld.conf; rm %D/lib/ocaml/ld.conf.tmp