diff options
author | clive <clive@FreeBSD.org> | 2003-01-02 05:07:58 +0800 |
---|---|---|
committer | clive <clive@FreeBSD.org> | 2003-01-02 05:07:58 +0800 |
commit | 86e3ec93d79a05dce161a62a9d8ca2a473cd5c61 (patch) | |
tree | a5db86fa95b3a2046c6485c08b02056a9d6c3843 /net/samba | |
parent | e57fd08db388d44a78445534ce8ec64d50c817f0 (diff) | |
download | freebsd-ports-gnome-86e3ec93d79a05dce161a62a9d8ca2a473cd5c61.tar.gz freebsd-ports-gnome-86e3ec93d79a05dce161a62a9d8ca2a473cd5c61.tar.zst freebsd-ports-gnome-86e3ec93d79a05dce161a62a9d8ca2a473cd5c61.zip |
o Respect CFLAGS.
o Add a message telling users to take out -O from their CFLAGS and
recompile/reinstall samba if they encounter problems.
PR: ports/45691
Approved by: dwcjr (MAINTAINER)
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 1 | ||||
-rw-r--r-- | net/samba/files/patch-configure.in | 11 | ||||
-rw-r--r-- | net/samba/pkg-message | 9 |
3 files changed, 21 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index a6696f1b1c3f..4e9c99bae40d 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -263,5 +263,6 @@ post-install: done @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/swat/README ${DOCSDIR}/README.swat .endif + @${CAT} ${PKGMESSAGE} .include <bsd.port.post.mk> diff --git a/net/samba/files/patch-configure.in b/net/samba/files/patch-configure.in new file mode 100644 index 000000000000..bb53a81990a1 --- /dev/null +++ b/net/samba/files/patch-configure.in @@ -0,0 +1,11 @@ +--- source/configure.in.orig Thu Nov 7 17:52:42 2002 ++++ source/configure.in Thu Nov 7 17:53:09 2002 +@@ -168,7 +168,7 @@ + AC_SUBST(LIBSMBCLIENT) + + # compile with optimization and without debugging by default +-CFLAGS="-O ${CFLAGS}" ++CFLAGS="${CFLAGS}" + + AC_ARG_ENABLE(debug, + [ --enable-debug Turn on compiler debugging information (default=no)], diff --git a/net/samba/pkg-message b/net/samba/pkg-message new file mode 100644 index 000000000000..44547dd38d73 --- /dev/null +++ b/net/samba/pkg-message @@ -0,0 +1,9 @@ +======================================================================= + +WARNING: In FreeBSD, it's known that compiling samba with any kind of +optimization flags might cause problems under certain circumstance. + +If you caught any show stopper, please try taking optimization flag(s) +out of your CFLAGS and recompile/reinstall samba. + +======================================================================= |