aboutsummaryrefslogtreecommitdiff
path: root/devel/librelp
diff options
context:
space:
mode:
Diffstat (limited to 'devel/librelp')
-rw-r--r--devel/librelp/Makefile23
-rw-r--r--devel/librelp/distinfo6
2 files changed, 17 insertions, 12 deletions
diff --git a/devel/librelp/Makefile b/devel/librelp/Makefile
index 22da6e8abbf1..d81f1faa34cc 100644
--- a/devel/librelp/Makefile
+++ b/devel/librelp/Makefile
@@ -6,23 +6,28 @@
#
PORTNAME= librelp
-PORTVERSION= 0.1.1
+PORTVERSION= 0.1.3
CATEGORIES= devel
-MASTER_SITES= CENKES http://download.rsyslog.com/librelp/
+MASTER_SITES= http://download.rsyslog.com/librelp/
MAINTAINER= ports@FreeBSD.org
COMMENT= Reliable event logging protocol library
+USE_GNOME= gnomehack pkgconfig
+USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-static
-PLIST_FILES= include/${PORTNAME}.h lib/${PORTNAME}.so lib/${PORTNAME}.so.0 \
- lib/${PORTNAME}.la libdata/pkgconfig/relp.pc
+
+PLIST_FILES= include/${PORTNAME}.h \
+ lib/${PORTNAME}.a lib/${PORTNAME}.la \
+ lib/${PORTNAME}.so lib/${PORTNAME}.so.0 \
+ libdata/pkgconfig/relp.pc
+
PORT_VERBS= relp
post-patch:
- @${REINPLACE_CMD} -e '/^pkgconfigdir =/s|=.*| \
- = ${PREFIX}/libdata/pkgconfig|' ${WRKSRC}/Makefile.in
- @${ECHO_CMD} "#include <sys/types.h>" >> ${WRKSRC}/src/relp.h
+ @${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' \
+ ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/^PTHREADS/s|= .*|= ${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
diff --git a/devel/librelp/distinfo b/devel/librelp/distinfo
index 2a3b6e617b0f..fbf6dc84f281 100644
--- a/devel/librelp/distinfo
+++ b/devel/librelp/distinfo
@@ -1,3 +1,3 @@
-MD5 (librelp-0.1.1.tar.gz) = 8d98ef2dadeff03b5bd40efed7ae418d
-SHA256 (librelp-0.1.1.tar.gz) = 57095df8936b7b85a7657c2d468081c6231270269f2501cc089cb2df92abd608
-SIZE (librelp-0.1.1.tar.gz) = 375399
+MD5 (librelp-0.1.3.tar.gz) = 1861bc4659721d6e383633c16cdbb132
+SHA256 (librelp-0.1.3.tar.gz) = d669dc623e54e241d2983ed00a8e75694d2a4098f8be08610f740f1b93fd5498
+SIZE (librelp-0.1.3.tar.gz) = 382922