aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ocaml-pcre
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-18 20:49:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-18 20:49:17 +0800
commitf6e5cba76163d17d6a7a5b525ad4e5eec4ba6d29 (patch)
tree5148c6cb4e2dc9b6d577885581610f9729428308 /devel/ocaml-pcre
parent1a160dc112ba1b3cf59d127fc567ebbbc6cc1ee9 (diff)
downloadfreebsd-ports-graphics-f6e5cba76163d17d6a7a5b525ad4e5eec4ba6d29.tar.gz
freebsd-ports-graphics-f6e5cba76163d17d6a7a5b525ad4e5eec4ba6d29.tar.zst
freebsd-ports-graphics-f6e5cba76163d17d6a7a5b525ad4e5eec4ba6d29.zip
properly deinstall the package
PR: 37459 Submitted by: maintainer
Diffstat (limited to 'devel/ocaml-pcre')
-rw-r--r--devel/ocaml-pcre/pkg-plist2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/ocaml-pcre/pkg-plist b/devel/ocaml-pcre/pkg-plist
index b1d1336cd1e..4b1f27d3be3 100644
--- a/devel/ocaml-pcre/pkg-plist
+++ b/devel/ocaml-pcre/pkg-plist
@@ -5,3 +5,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"; echo "%D/lib/ocaml/site-lib/pcre" >> %D/lib/ocaml/ld.conf
+@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