explicitly link with apr libs

This commit is contained in:
naddy 2012-05-01 20:37:41 +00:00
parent 42f399bb8f
commit 9c220e77c8
2 changed files with 16 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.5 2011/09/16 09:24:56 espie Exp $
# $OpenBSD: Makefile,v 1.6 2012/05/01 20:37:41 naddy Exp $
COMMENT = remote svn repository dump
CATEGORIES = devel
DISTNAME = rsvndump-0.5.2
REVISION= 0
REVISION= 1
HOMEPAGE = http://rsvndump.sourceforge.net/
@ -16,12 +16,13 @@ PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c apr-1 \
WANTLIB = c apr-1 pthread \
svn_client-1 svn_delta-1 svn_fs-1 svn_ra-1 svn_subr-1
MODULES = devel/gettext
LIB_DEPENDS = devel/subversion>=1.4
CONFIGURE_STYLE = gnu
AUTOCONF_VERSION = 2.63
CONFIGURE_STYLE = autoconf
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-configure_ac,v 1.1 2012/05/01 20:37:41 naddy Exp $
--- configure.ac.orig Tue May 1 22:32:06 2012
+++ configure.ac Tue May 1 22:32:26 2012
@@ -62,6 +62,7 @@ fi
# Checks for libraries
RSVND_FIND_APR
+LIBS="$LIBS $APR_LIBS"
SCFLAGS="$CFLAGS"
SCPPFLAGS="$CPPFLAGS"
CFLAGS="$CFLAGS $APR_INCLUDES $APR_CFLAGS"