svn commit: r302598 - head/www/yaws
Jimmy Olgeni
olgeni at FreeBSD.org
Wed Aug 15 20:02:34 UTC 2012
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
More information about the svn-ports-all
mailing list