diff options
author | clement <clement@FreeBSD.org> | 2004-01-26 06:46:10 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-01-26 06:46:10 +0800 |
commit | 3978aaaf3614668227eda6ece13b8597d96abee7 (patch) | |
tree | 9adc33fcd2462bd4aa4268bc7f7f1c01c8a39e52 /devel/ocaml-pcre | |
parent | b3648e9e8bff8bb8c52c9d9c8c397eb531b6e22a (diff) | |
download | freebsd-ports-gnome-3978aaaf3614668227eda6ece13b8597d96abee7.tar.gz freebsd-ports-gnome-3978aaaf3614668227eda6ece13b8597d96abee7.tar.zst freebsd-ports-gnome-3978aaaf3614668227eda6ece13b8597d96abee7.zip |
- Fix build when ocaml-pcre is a dependency and installed via a package
PR: 61910
Submitted by: stephane
Diffstat (limited to 'devel/ocaml-pcre')
-rw-r--r-- | devel/ocaml-pcre/pkg-plist | 1 |
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 |