On Mon Apr 25, 2016 at 06:19:34PM +0200, Theo Buehler wrote:
> On Mon, Apr 25, 2016 at 06:06:43PM +0200, Theo Buehler wrote:
> > On Sun, Jan 24, 2016 at 12:13:47PM +0100, Theo Buehler wrote:
> > > On Sat, Jan 23, 2016 at 05:20:06PM +0100, Rafael Sadowski wrote:
> > > > New updated profanity tarball. Source and changelog on github:
> > > > https://github.com/jasperla/openbsd-wip/tree/master/net/profanity
> > > >
> > > > Thanks for the advice from sthen@ and Raf Czlonka.
> > > >
> > > > Best regards,
> > > >
> > > > Rafael
> > >
> > > libstrophe now looks fine to me and seems to be ready to go in.
> >
> > I've been running the following version of Rafael's net/profanity port
> > for quite a while now. The net/libstrophe port is still the same as the
> > one submitted by Rafael.
> >
> > Does this look ok now?
>
> sorry, i mangled the libstrophe archive. here's a good version of it
Thanks Theo and best regards to France.
one little tweak:
Option 1:
Disbale regression tests and remove whitspaces.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/profanity/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 25 Apr 2016 17:46:38 -0000 1.1.1.1
+++ Makefile 25 Apr 2016 19:04:32 -0000
@@ -39,10 +39,12 @@ MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.11
+NO_TEST = Yes
+
# there is no stub_ui.h and is not needed
post-patch:
find ${WRKSRC} -type f -name "*.c" \
-exec sed -i '/stub\_ui.h/d' "{}" \;
- sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac
+ sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac
.include <bsd.port.mk>
Option 2:
add cmocka as LIB_DEPENDS to running regression tests and remove
whitspaces.
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/profanity/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -u -p -r1.1.1.1 Makefile
--- Makefile 25 Apr 2016 17:46:38 -0000 1.1.1.1
+++ Makefile 25 Apr 2016 19:05:32 -0000
@@ -18,7 +18,9 @@ WANTLIB += otr strophe uuid
BUILD_DEPENDS +=${MODGNU_AUTOCONF_DEPENDS} \
${MODGNU_AUTOMAKE)DEPENDS} \
+# cmocka for tests
LIB_DEPENDS += net/curl \
+ devel/cmocka \
devel/readline>=6.1p2 \
devel/glib2 \
net/libstrophe \
@@ -43,6 +45,6 @@ AUTOMAKE_VERSION = 1.11
post-patch:
find ${WRKSRC} -type f -name "*.c" \
-exec sed -i '/stub\_ui.h/d' "{}" \;
- sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac
+ sed -i s,/usr/local,${LOCALBASE}, ${WRKSRC}/configure.ac
.include <bsd.PORt.mk>