From owner-svn-ports-head@FreeBSD.ORG Thu Jul 24 13:41:43 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC3E6A0C; Thu, 24 Jul 2014 13:41:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8DA72175; Thu, 24 Jul 2014 13:41:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6ODfhcB049646; Thu, 24 Jul 2014 13:41:43 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6ODfhv0049645; Thu, 24 Jul 2014 13:41:43 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201407241341.s6ODfhv0049645@svn.freebsd.org> From: Baptiste Daroussin Date: Thu, 24 Jul 2014 13:41:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362797 - head/devel/libevent-hiphop X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jul 2014 13:41:43 -0000 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 # $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|||' \ + ${WRKSRC}/epoll.c ${WRKSRC}/epoll_sub.c ${WRKSRC}/evdns.c + +regression-test: build + @(${SH} ${WRKSRC}/test/regress) + +.include