aboutsummaryrefslogtreecommitdiff
path: root/devel/boost
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-24 05:56:25 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2004-02-24 05:56:25 +0000
commit80422f22c7b85b04178acc116c50aebb5ac9e360 (patch)
tree3acbb377e966df246026d0aee221275761b73606 /devel/boost
parent466e5aa0f4468720b13d2ded1c928165b6ededa2 (diff)
downloadports-80422f22c7b85b04178acc116c50aebb5ac9e360.tar.gz
ports-80422f22c7b85b04178acc116c50aebb5ac9e360.zip
Notes
Diffstat (limited to 'devel/boost')
-rw-r--r--devel/boost/files/gcc-tools.jam.diff16
-rw-r--r--devel/boost/scripts/do-install23
2 files changed, 12 insertions, 27 deletions
diff --git a/devel/boost/files/gcc-tools.jam.diff b/devel/boost/files/gcc-tools.jam.diff
deleted file mode 100644
index d2052cf52b85..000000000000
--- a/devel/boost/files/gcc-tools.jam.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-*** tools/build/gcc-tools.jam.orig Tue Oct 14 21:38:52 2003
---- tools/build/gcc-tools.jam Tue Oct 14 21:50:16 2003
-***************
-*** 122,127 ****
---- 122,132 ----
- GCC ?= cc ;
- GXX ?= c++ ;
- }
-+ case FreeBSD :
-+ {
-+ # for current which doesn't support -pthread
-+ flags gcc LINKFLAGS <threading>multi : -lc_r ;
-+ }
- case *BSD :
- {
- flags gcc CFLAGS <threading>multi : -pthread ;
diff --git a/devel/boost/scripts/do-install b/devel/boost/scripts/do-install
index 1e9cf6dc4126..32b631536949 100644
--- a/devel/boost/scripts/do-install
+++ b/devel/boost/scripts/do-install
@@ -1,16 +1,5 @@
#!/bin/sh
-# Fix links to example files
-cd ${WRKSRC}/libs && for dir in *; do
- if [ -d $dir/doc ]; then
- for file in $dir/doc/*; do
- ${GREP} -s -q '\.\./example/' $file && \
- ${REINPLACE_CMD} -e\
- "s|../example/|${PREFIX}/share/examples/boost/$dir/|g" $file
- done;
- fi;
-done;
-
# Install bjam tool
${BSD_INSTALL_PROGRAM} ${BJAM} ${PREFIX}/bin/
@@ -35,6 +24,18 @@ cd ${WRKSRC} && ${FIND} boost -type f\
# Documentation & examples
if [ -n ${NOPORTDOCS+xyz} ]; then
+ # Fix links to example files
+ cd ${WRKSRC}/libs && for dir in *; do
+ if [ -d $dir/doc ]; then
+ for file in $dir/doc/*; do
+ ${GREP} -s -q '\.\./example/' $file && \
+ ${REINPLACE_CMD} -e\
+ "s|../example/|${PREFIX}/share/examples/boost/$dir/|g" $file
+ done;
+ fi;
+ done;
+
+ # Installation
${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
${FIND} ${WRKSRC} -type f -exec chmod 0444 {} \;