diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2005-03-04 13:04:06 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2005-03-04 13:04:06 +0000 |
commit | 74de9bfdc7094574c31aeaad180366a73619f737 (patch) | |
tree | 210e47908054a6c5010d96af128df7bc451a9a0f /textproc/iiimf-protocol-lib | |
parent | 229037f505a63fa2461e6169654ab219201e7ab8 (diff) | |
download | ports-74de9bfdc7094574c31aeaad180366a73619f737.tar.gz ports-74de9bfdc7094574c31aeaad180366a73619f737.zip |
Notes
Diffstat (limited to 'textproc/iiimf-protocol-lib')
-rw-r--r-- | textproc/iiimf-protocol-lib/files/patch-acfiles_check_sys.m4 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/textproc/iiimf-protocol-lib/files/patch-acfiles_check_sys.m4 b/textproc/iiimf-protocol-lib/files/patch-acfiles_check_sys.m4 new file mode 100644 index 000000000000..8626eeae1fd1 --- /dev/null +++ b/textproc/iiimf-protocol-lib/files/patch-acfiles_check_sys.m4 @@ -0,0 +1,38 @@ +--- acfiles/check_sys.m4.orig Tue Sep 14 13:31:27 2004 ++++ acfiles/check_sys.m4 Wed Mar 2 08:39:25 2005 +@@ -203,6 +203,11 @@ + CXX=${CC} + fi + ;; ++ cc*:*) ++ COMMON_CFLAGS="${COMMON_CFLAGS} -Wall" ++ SHLIBCFLAGS='-fpic' ++ SHLIBLDFLAGS='-shared' ++ ;; + *) + DEBUG_CXX_CFLAGS="${DEBUG_CXX_CFLAGS} -g" + ;; +@@ -249,8 +254,8 @@ + COMMON_CXX_CFLAGS="${COMMON_CXX_CFLAGS} -DLinux" + ;; + *freebsd*) +- THREAD_LDFLAGS="-pthread" +- PTHREAD_LIBS="" ++ THREAD_LDFLAGS="" ++ PTHREAD_LIBS="${PTHREAD_LIBS}" + ;; + esac + +@@ -288,9 +293,9 @@ + THREAD_CXX_CFLAGS="-mt" + HAVE_THREAD="uithread" + ;; +- *freebsd*@gcc:*) +- THREAD_LDFLAGS="-pthread" +- THREAD_LIBS="" ++ *freebsd*@cc:*|*freebsd*@gcc:*) ++ THREAD_LDFLAGS="" ++ THREAD_LIBS="${PTHREAD_LIBS}" + HAVE_THREAD="freebsd-pthread" + ;; + *linux*) |