aboutsummaryrefslogtreecommitdiff
path: root/devel/boehm-gc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-02-02 04:48:28 +0000
committerPatrick Li <pat@FreeBSD.org>2002-02-02 04:48:28 +0000
commit74f0bfa70ecfec36df83b583e39070b71a3594e0 (patch)
tree46272f1b911d32c99c5bbc1980dd773c6ca2c647 /devel/boehm-gc
parentbf8b952b9c7fa834bf258bc845a99689b44ddb14 (diff)
downloadports-74f0bfa70ecfec36df83b583e39070b71a3594e0.tar.gz
ports-74f0bfa70ecfec36df83b583e39070b71a3594e0.zip
Notes
Diffstat (limited to 'devel/boehm-gc')
-rw-r--r--devel/boehm-gc/Makefile4
-rw-r--r--devel/boehm-gc/files/patch-ab4
2 files changed, 6 insertions, 2 deletions
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index e5c1ec17e656..9441f8d7f9dc 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -18,9 +18,13 @@ ONLY_FOR_ARCHS= i386 # XXX can't figure out whether to define
HAS_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
MAN3= gc.3
+post-patch:
+ @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
+
post-install:
${INSTALL_DATA} ${WRKSRC}/include/gc.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/gc_cpp.h ${PREFIX}/include
diff --git a/devel/boehm-gc/files/patch-ab b/devel/boehm-gc/files/patch-ab
index 44c31d0fbaea..fe08615d5565 100644
--- a/devel/boehm-gc/files/patch-ab
+++ b/devel/boehm-gc/files/patch-ab
@@ -21,9 +21,9 @@
+and
+.I gc_cpp.h
+will probably be found in
-+.I /usr/local/include,
++.I %%PREFIX%%/include,
+and the library in
-+.I /usr/local/lib.
++.I %%PREFIX%%/lib.
+.LP
+This library has been compiled as drop-in replacements
+for malloc and free (which is to say, all malloc