Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 May 2004 12:13:08 -0500
From:      Jonathan <j.e.drews@worldnet.att.net>
To:        Vadim Kurland <vadimk@gmail.com>, FreeBSD ports <ports@FreeBSD.org>
Cc:        Chuck Swiger <cswiger@mac.com>
Subject:   Re: fixing fwbuilder port
Message-ID:  <1084122787.34695.59.camel@mobile.silbsd.org>
In-Reply-To: <4f30c27f04050900473b54ff71@mail.gmail.com>
References:  <1084049192.422.63.camel@mobile.silbsd.org> <409DAF0B.20703@mac.com> <1084087572.227.8.camel@mobile.silbsd.org> <4f30c27f04050900473b54ff71@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Vadim:

On Sun, 2004-05-09 at 02:47, Vadim Kurland wrote:
> If I undestand Chuck's suggestion right, you needed to add
> "USEOPENSSL=yes" and remove dependency on openssl port all together.
> Since you have openssl in base, you should not need the port. Did you
> remove the relevant line from BUILD_DEPENDS in libfwbuilder ? Did it
> build after that ?

I removed the line from the build depends (see the patches below) and
fwbuilder built just fine. I also ran portlint -Av on fwbuilder and
libfwbuilder and came up with a few additional corrections. 
 Finally I tested it in accordance with section 2.4 of the Porters
Handbook and it passed all the tests.
 Thanks to Chuck it's working now.

The fwbuilder patch:

--- Makefile    Sun May  9 11:31:26 2004
+++ /home/xfce/Makefile.fwbuilder.original      Thu May  6 19:52:30 2004
@@ -22,14 +22,14 @@
 USE_GNOME=     glib12 gtk12
 USE_GMAKE=     yes
 USE_LIBTOOL_VER=13
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+GNU_CONFIGURE=  yes
+CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS+=       --with-docdir=${DOCSDIR}
 INSTALLS_SHLIB=        yes
 PLIST_SUB+=    PORTVERSION="${PORTVERSION}"
 
-MAN1=          fwbuilder.1 fwblookup.1 fwbedit.1 fwb_ipt.1 fwb_ipf.1
fwb_ipfw.1 fwb_pf.1 \
+MAN1=           fwbuilder.1 fwblookup.1 fwbedit.1 fwb_ipt.1 fwb_ipf.1
fwb_ipfw.1 fwb_pf.1 \
                fwb_install.1 fwb_compile_all.1
 
 .include <bsd.port.mk>

The libfwbuilder patch:

--- /home/xfce/Makefile.libfwbuilder.original   Sun May  9 00:55:31 2004
+++ Makefile    Sun May  9 10:56:48 2004
@@ -16,15 +16,15 @@
 
 LIB_DEPENDS=   xml2.5:${PORTSDIR}/textproc/libxml2 \
                xslt.2:${PORTSDIR}/textproc/libxslt \
-               netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp \
-               crypto.3:${PORTSDIR}/security/openssl
+               netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
 
 USE_GNOME=     glib12
 
+USE_OPENSSL=   yes
 USE_GMAKE=     yes
 USE_LIBTOOL_VER=13
-GNU_CONFIGURE=  yes
-CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
                LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=        --with-docdir=${DOCSDIR}
 INSTALLS_SHLIB=        yes




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1084122787.34695.59.camel>