Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 13:41:43 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362797 - head/devel/libevent-hiphop
Message-ID:  <201407241341.s6ODfhv0049645@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jul 24 13:41:43 2014
New Revision: 362797
URL: http://svnweb.freebsd.org/changeset/ports/362797
QAT: https://qat.redports.org/buildarchive/r362797/

Log:
  Fix libevent-hiphop forgotten with previous patch

Modified:
  head/devel/libevent-hiphop/Makefile

Modified: head/devel/libevent-hiphop/Makefile
==============================================================================
--- head/devel/libevent-hiphop/Makefile	Thu Jul 24 13:32:58 2014	(r362796)
+++ head/devel/libevent-hiphop/Makefile	Thu Jul 24 13:41:43 2014	(r362797)
@@ -1,17 +1,22 @@
 # Created by: Martin Matuska <mm@FreeBSD.org>
 # $FreeBSD$
 
+PORTNAME=	libevent
 PKGNAMESUFFIX=	-hiphop
+PORTVERSION=	1.4.14b
 PORTREVISION=	3
+CATEGORIES=	devel
+MASTER_SITES=	http://monkey.org/~provos/
+DISTNAME=	${PORTNAME}-${DISTVERSION}-stable
 
 MAINTAINER=	mm@FreeBSD.org
 COMMENT=	Static libevent with custom patches for HipHop
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
 HIPHOP_DIR=	share/hiphop-php
 
-_BUILDING_LIBEVENT_HIPHOP=	yes
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS+=	--disable-shared --enable-static
 EXTRA_PATCHES=	${.CURDIR}/files/extra-patch-hiphop
 GNU_CONFIGURE_PREFIX=	${PREFIX}/${HIPHOP_DIR}/ext
@@ -24,4 +29,16 @@ DESCR=		${.CURDIR}/pkg-descr
 
 MASTERDIR=	${.CURDIR}/../libevent
 
-.include "${MASTERDIR}/Makefile"
+pre-configure:
+	@${MKDIR} ${WRKSRC}/m4
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,CFLAGS =,CFLAGS +=,' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e '/LIBS/s/-lrt//g' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
+		${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c
+
+regression-test: build
+	@(${SH} ${WRKSRC}/test/regress)
+
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407241341.s6ODfhv0049645>