diff options
Diffstat (limited to 'misc/mbuffer/Makefile')
-rw-r--r-- | misc/mbuffer/Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/misc/mbuffer/Makefile b/misc/mbuffer/Makefile index fb2873c66ae4..3d7369e797c2 100644 --- a/misc/mbuffer/Makefile +++ b/misc/mbuffer/Makefile @@ -7,6 +7,7 @@ PORTNAME= mbuffer PORTVERSION= 2011.07.24 +PORTREVISION= 1 CATEGORIES= misc MASTER_SITES= http://www.maier-komor.de/software/mbuffer/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g} @@ -26,6 +27,19 @@ PLIST_FILES= bin/mbuffer MAN1= ${PORTNAME}.1 +OPTIONS= MHASH "Use mhash for hash generation" on + +.include <bsd.port.options.mk> + +.if !defined(WITHOUT_MHASH) +LIB_DEPENDS+= mhash.2:${PORTSDIR}/security/mhash +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +.else +CONFIGURE_ARGS+=ac_cv_search_mhash_init=no +USE_OPENSSL= yes +.endif + .include <bsd.port.pre.mk> post-patch: |