aboutsummaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorClive Lin <clive@FreeBSD.org>2003-01-01 21:07:58 +0000
committerClive Lin <clive@FreeBSD.org>2003-01-01 21:07:58 +0000
commitb5fc60620a2cbcea0e05c423a06703d9bd309b5b (patch)
tree40b235d692d37dc0db9f85bb7c653fb76258d9af /net/samba
parent972d11930ff9f41030c5a47b768b737dc5db68e4 (diff)
downloadports-b5fc60620a2cbcea0e05c423a06703d9bd309b5b.tar.gz
ports-b5fc60620a2cbcea0e05c423a06703d9bd309b5b.zip
Notes
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/Makefile1
-rw-r--r--net/samba/files/patch-configure.in11
-rw-r--r--net/samba/pkg-message9
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.
+
+=======================================================================