Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2016 15:28:16 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413141 - in head/www/py-bjoern: . files
Message-ID:  <201604121528.u3CFSGFB038675@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Tue Apr 12 15:28:15 2016
New Revision: 413141
URL: https://svnweb.freebsd.org/changeset/ports/413141

Log:
  - Update to 1.4.3
  - Add support for DragonFly

Added:
  head/www/py-bjoern/files/
  head/www/py-bjoern/files/patch-bjoern_portable__sendfile.c   (contents, props changed)
Modified:
  head/www/py-bjoern/Makefile
  head/www/py-bjoern/distinfo

Modified: head/www/py-bjoern/Makefile
==============================================================================
--- head/www/py-bjoern/Makefile	Tue Apr 12 15:06:58 2016	(r413140)
+++ head/www/py-bjoern/Makefile	Tue Apr 12 15:28:15 2016	(r413141)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	bjoern
-PORTVERSION=	1.4.2
+PORTVERSION=	1.4.3
 CATEGORIES=	www python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,10 +15,12 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libev.so:devel/libev
 
-USES=	python:2
+USES=	localbase python:2
 USE_PYTHON=	distutils autoplist
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib -lc
+LDFLAGS+=	-lc
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/*.so
 
 .include <bsd.port.mk>

Modified: head/www/py-bjoern/distinfo
==============================================================================
--- head/www/py-bjoern/distinfo	Tue Apr 12 15:06:58 2016	(r413140)
+++ head/www/py-bjoern/distinfo	Tue Apr 12 15:28:15 2016	(r413141)
@@ -1,2 +1,2 @@
-SHA256 (bjoern-1.4.2.tar.gz) = 5892ee00b04c45e0093835c9e179e52370d42add224a4a03d937f8306a54d84e
-SIZE (bjoern-1.4.2.tar.gz) = 25997
+SHA256 (bjoern-1.4.3.tar.gz) = 9361dc1e8ef22eb749fcf3d16b9023bb1d1c59916b4e32400902648b4805fffd
+SIZE (bjoern-1.4.3.tar.gz) = 28824

Added: head/www/py-bjoern/files/patch-bjoern_portable__sendfile.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-bjoern/files/patch-bjoern_portable__sendfile.c	Tue Apr 12 15:28:15 2016	(r413141)
@@ -0,0 +1,13 @@
+--- bjoern/portable_sendfile.c.orig	2014-11-11 20:31:07 UTC
++++ bjoern/portable_sendfile.c
+@@ -18,9 +18,7 @@
+     return len;
+   }
+ 
+-#elif defined __FreeBSD__
+-
+-  /* FreeBSD */
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+ 
+   #include <sys/socket.h>
+   #include <sys/types.h>



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