Charles Smith wrote:
I have setup successfully a working Samba environment, it works all right,
but any Samba manual final in fatal error.

This diff fixes man pages, I also removed some configure args which are no mode recognized by the configure script.
 Ok anyone ?
  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 09:57:32 -0000
@@ -5,7 +5,7 @@ COMMENT-docs=   additional documentation a
 
 DISTNAME=              samba-3.0.37
 PKGNAME-main=          ${DISTNAME}p0
-FULLPKGNAME-docs=      ${DISTNAME:S/-/-docs-/}p0
+FULLPKGNAME-docs=      ${DISTNAME:S/-/-docs-/}p1
 FULLPKGPATH-docs=      net/samba,-docs
 SHARED_LIBS=           smbclient       1.0 \
                        msrpc           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

Reply via email to