Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= mbuffer |
4 |
PORTNAME= mbuffer |
5 |
PORTVERSION= 2013.02.20 |
5 |
PORTVERSION= 2014.03.10 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= misc |
6 |
CATEGORIES= misc |
8 |
MASTER_SITES= http://www.maier-komor.de/software/mbuffer/ |
7 |
MASTER_SITES= http://www.maier-komor.de/software/mbuffer/ |
9 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} |
8 |
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} |
Lines 36-44
CONFIGURE_ARGS+=ac_cv_search_mhash_init=no
Link Here
|
36 |
USE_OPENSSL= yes |
35 |
USE_OPENSSL= yes |
37 |
.endif |
36 |
.endif |
38 |
|
37 |
|
|
|
38 |
# Prevent sendfile() from being detected by configure and rejected |
39 |
# by mbuffer.c due to being "unable to send from buffers". |
40 |
CONFIGURE_ARGS+=ac_cv_search_sendfile=no |
41 |
|
39 |
.include <bsd.port.pre.mk> |
42 |
.include <bsd.port.pre.mk> |
40 |
|
43 |
|
41 |
post-patch: |
44 |
post-patch: |
42 |
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure |
45 |
@${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' ${WRKSRC}/configure |
43 |
|
46 |
|
|
|
47 |
post-configure: |
48 |
# Rename variables to make sure they aren't redefined through mhash.h |
49 |
@${REINPLACE_CMD} -E -e 's@(PACKAGE|VERSION)@MBUFFER_\1@' \ |
50 |
${WRKSRC}/config.h ${WRKSRC}/mbuffer.c |
51 |
|
44 |
.include <bsd.port.post.mk> |
52 |
.include <bsd.port.post.mk> |