1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Update to 1.4.3

- Add support for DragonFly
This commit is contained in:
Olivier Duchateau 2016-04-12 15:28:15 +00:00
parent 493a4da4aa
commit 5769d73c06
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413141
3 changed files with 21 additions and 6 deletions

View File

@ -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>

View File

@ -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

View File

@ -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>