summaryrefslogtreecommitdiff
path: root/security/hashish
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2002-06-25 06:43:43 +0000
committerGreg Lewis <glewis@FreeBSD.org>2002-06-25 06:43:43 +0000
commit8267703326b11791034bfda0ad6e7a2b4441adb6 (patch)
tree768048a7ff9732efa8e00ab6651d6ed0bfb62e6c /security/hashish
parentupgrade WWW (diff)
. Add ${PTHREAD_CFLAGS} to compilation flags.
. Portable linkage with pthread library by using ${PTHREAD_LIB} rather than hardwiring -pthread. Submitted by: Sean Chittenden <sean@chittenden.org> (1) dougb (2)
Notes
Notes: svn path=/head/; revision=61907
Diffstat (limited to 'security/hashish')
-rw-r--r--security/hashish/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/hashish/Makefile b/security/hashish/Makefile
index a6e0fa5b15c4..034e4f7fe524 100644
--- a/security/hashish/Makefile
+++ b/security/hashish/Makefile
@@ -25,8 +25,8 @@ CFLAGS+= -I${LOCALBASE}/include
USE_GMAKE= yes
post-patch:
- @${REINPLACE_CMD} -e "s,^CXXFLAGS =,CXXFLAGS+=,g ; \
- s,^LBLIBS =,LBLIBS = -pthread -L${LOCALBASE}/lib,g" \
+ @${REINPLACE_CMD} -e "s,^CXXFLAGS =,CXXFLAGS+=${PTHREAD_CFLAGS},g ; \
+ s,^LBLIBS =,LBLIBS = ${PTHREAD_LIBS} -L${LOCALBASE}/lib,g" \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s,crypto/,cryptopp/,g" ${WRKSRC}/src/main.cpp