aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-event
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-12-05 13:29:01 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-12-05 13:29:01 +0000
commit654f115b69090156ea0f60623194d19d7b9cfa3b (patch)
treee5279b7a5a4e4949f2d66b711a51c1de93cf45df /devel/ocaml-event
parentb7408d98fcf5fa9972308456c0097352f23ca710 (diff)
downloadports-654f115b69090156ea0f60623194d19d7b9cfa3b.tar.gz
ports-654f115b69090156ea0f60623194d19d7b9cfa3b.zip
- Bump PORT_REVISION and change LIB_DEPENDS to reflect update in devel/libevent
- Fix many wrong BUILD_DEPENDS. Thanks to ldd(1)
Notes
Notes: svn path=/head/; revision=178938
Diffstat (limited to 'devel/ocaml-event')
-rw-r--r--devel/ocaml-event/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/devel/ocaml-event/Makefile b/devel/ocaml-event/Makefile
index 401908d8da55..bcf205297602 100644
--- a/devel/ocaml-event/Makefile
+++ b/devel/ocaml-event/Makefile
@@ -7,7 +7,7 @@
PORTNAME= event
PORTVERSION= 0.5.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.xs4all.nl/~mmzeeman/ocaml/
PKGNAMEPREFIX= ocaml-
@@ -17,7 +17,7 @@ MAINTAINER= lioux@FreeBSD.org
COMMENT= An ocaml wrapper for the libevent API
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
-LIB_DEPENDS= ${LIB_EVENT}:${PORTSDIR}/devel/libevent
+LIB_DEPENDS= event-1.2a:${PORTSDIR}/devel/libevent
ALL_TARGET= all allopt
USE_GMAKE= yes
@@ -28,9 +28,6 @@ ALL_TARGET+= doc
PORTDOCS= *
.endif
-# libevent library
-LIB_EVENT= event-1.2.1
-
EXAMPLE_FILES= \
Makefile \
fifo_example.ml \
@@ -61,7 +58,7 @@ PLIST_FILES+= lib/ocaml/stublibs/${file}
post-configure:
# CFLAGS,PREFIX safeness
@${REINPLACE_CMD} -E -e \
- 's|^(EVENT_LIB=).*$$|\1-l${LIB_EVENT:R}|; \
+ 's|^(EVENT_LIB=).*$$|\1-levent|; \
s|^(EVENT_LIBDIR=).$$|\1${LOCALBASE}/lib|; \
s|^(EVENT_INCDIR=).$$|\1${LOCALBASE}/include|; \
s|^(CFLAGS).*$$|\1=${CFLAGS} -I\$$(EVENT_INCDIR)|' \