Giovanni Bechis wrote:
Charles Smith wrote:
I have setup successfully a working Samba environment, it works all
right,
but any Samba manual final in fatal error.
Better diff with better bump.
Cheers
Giovanni
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/samba/Makefile,v
retrieving revision 1.109
diff -u -p -r1.109 Makefile
--- Makefile 26 Feb 2010 18:13:25 -0000 1.109
+++ Makefile 4 Mar 2010 10:10:16 -0000
@@ -4,7 +4,7 @@ COMMENT-main= SMB and CIFS client and se
COMMENT-docs= additional documentation and examples for Samba
DISTNAME= samba-3.0.37
-PKGNAME-main= ${DISTNAME}p0
+PKGNAME-main= ${DISTNAME}p1
FULLPKGNAME-docs= ${DISTNAME:S/-/-docs-/}p0
FULLPKGPATH-docs= net/samba,-docs
SHARED_LIBS= smbclient 1.0 \
@@ -51,9 +51,6 @@ CONFIGURE_ARGS= --disable-fam \
--with-privatedir="${CONFDIR}" \
--with-libsmbclient \
--with-swatdir="${PREFIX}/share/swat" \
- --with-ssl \
- --with-sslinc="/usr/include/ssl" \
- --with-ssllib="/usr/lib" \
--with-syslog \
--with-utmp
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -110,6 +107,9 @@ SAMPLE_CONFIG= ${PREFIX}/share/examples/
pre-configure:
@${SUBST_CMD} ${WRKSRC}/../docs/manpages/swat.8
+ @perl -pi -e 's/\.toupper.*//gs' ${WRKSRC}/../docs/manpages/*.[1-8]
+ @perl -pi -e 's:\\FC::g' ${WRKSRC}/../docs/manpages/*.[1-8]
+ @perl -pi -e 's:\\F\[\]::g' ${WRKSRC}/../docs/manpages/*.[1-8]
post-extract:
@cp ${FILESDIR}/krb5-config ${WRKDIR}/bin