diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2003-12-29 07:58:47 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2003-12-29 07:58:47 +0000 |
commit | 6202905164973076ca9470dfb7d17b96e93b4bf5 (patch) | |
tree | 6b1560f86a09f95b32557e4f67777e64ef56ced2 /comms/vpb2/files/patch-configure.in | |
parent | - Update to 1.2 (diff) |
The port did not build on many systems due to conflicting and missing
headers in certain files. It also blindly assumed the default prefix
for the etc directory was /etc. Also pet portlint.
PR: ports/60680
Submitted by: Samy Al Bahra <samy@kerneled.com>
Notes
Notes:
svn path=/head/; revision=96866
Diffstat (limited to 'comms/vpb2/files/patch-configure.in')
-rw-r--r-- | comms/vpb2/files/patch-configure.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/comms/vpb2/files/patch-configure.in b/comms/vpb2/files/patch-configure.in new file mode 100644 index 000000000000..4d339fefa10a --- /dev/null +++ b/comms/vpb2/files/patch-configure.in @@ -0,0 +1,27 @@ +--- configure.in.orig Sun Dec 28 11:55:40 2003 ++++ configure.in Sun Dec 28 11:55:52 2003 +@@ -23,24 +23,6 @@ + OST_MAINTAINER_MODE + OST_CXX_PROGRAMMING + +-AC_CACHE_CHECK(whether ${CC-cc} accepts -pthread, +- ost_cv_prog_cc_pthread, +- [echo 'void f(){}' >conftest.c +- if test -z "`${CC-cc} -pthread -c conftest.c 2>&1`"; then +- ost_cv_prog_cc_pthread=yes +- else +- ost_cv_prog_cc_pthread=no +- fi +- rm -f conftest* +- ]) +-if test $ost_cv_prog_cc_pthread = yes ; then +- LIBS="$LIBS -pthread" +-else +- AC_CHECK_LIB(c_r, pthread_self, +- LIBS="$LIBS -lc_r", +- AC_CHECK_LIB(pthread, pthread_self, +- LIBS="$LIBS -lpthread")) +-fi + + AC_SUBST(LT_RELEASE) + AC_OUTPUT(Makefile vpb2.spec freebsd/Makefile) |