fixing fwbuilder port
Jonathan
j.e.drews at worldnet.att.net
Sun May 9 10:11:32 PDT 2004
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
More information about the freebsd-ports
mailing list