Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2012 20:02:33 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302598 - head/www/yaws
Message-ID:  <201208152002.q7FK2XkK004952@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Wed Aug 15 20:02:33 2012
New Revision: 302598
URL: http://svn.freebsd.org/changeset/ports/302598

Log:
  Compatibility fixes for Erlang R15B01.
  
  Specifically, on R15B01 the sendfile function does not require a
  separate port driver.

Modified:
  head/www/yaws/Makefile
  head/www/yaws/pkg-plist

Modified: head/www/yaws/Makefile
==============================================================================
--- head/www/yaws/Makefile	Wed Aug 15 20:01:14 2012	(r302597)
+++ head/www/yaws/Makefile	Wed Aug 15 20:02:33 2012	(r302598)
@@ -26,10 +26,6 @@ ONLY_FOR_ARCHS=	i386 amd64 sparc64
 MAN1=		yaws.1
 MAN5=		yaws.conf.5 yaws_api.5 yaws_soap_lib.5
 
-OPTIONS_DEFINE=	SENDFILE
-SENDFILE_DESC=	Use native sendfile(2) interface
-OPTIONS_DEFAULT=SENDFILE
-
 APPDIR=${PREFIX}/lib/erlang/lib/yaws-${PORTVERSION}
 
 SUB_FILES=      pkg-message
@@ -38,14 +34,6 @@ CONFIGURE_ARGS+=--prefix=${PREFIX} --loc
 
 .include <bsd.port.pre.mk>
 
-.if ${PORT_OPTIONS:MSENDFILE}
-PLIST_SUB+=	SENDFILE=""
-CONFIGURE_ARGS+=--enable-sendfile
-.else
-CONFIGURE_ARGS+=--disable-sendfile
-PLIST_SUB+=	SENDFILE="@comment "
-.endif
-
 post-extract:
 	@${FIND} ${WRKSRC} -name .empty -delete
 

Modified: head/www/yaws/pkg-plist
==============================================================================
--- head/www/yaws/pkg-plist	Wed Aug 15 20:01:14 2012	(r302597)
+++ head/www/yaws/pkg-plist	Wed Aug 15 20:02:33 2012	(r302598)
@@ -128,7 +128,6 @@ bin/yaws
 %%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/src/yaws_websockets.erl
 %%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/src/yaws_xmlrpc.erl
 %%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/src/yaws_zlib.erl
-%%SENDFILE%%%%LIB32DIR%%/erlang/lib/yaws-%%VERSION%%/priv/lib/yaws_sendfile_drv.so
 %%WWWDIR%%/END
 %%WWWDIR%%/END2
 %%WWWDIR%%/HEAD



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