diff options
author | glewis <glewis@FreeBSD.org> | 2002-06-25 06:43:43 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2002-06-25 06:43:43 +0000 |
commit | 70dcaaa18b7a166e31d8fe13387ce5082db20d43 (patch) | |
tree | dd400c83e7195002f9a8c49fc4b222089f610df5 /security | |
parent | d8268dd10d32df940b548105700ba7bf6f6fd63d (diff) | |
download | FreeBSD-ports-70dcaaa18b7a166e31d8fe13387ce5082db20d43.zip FreeBSD-ports-70dcaaa18b7a166e31d8fe13387ce5082db20d43.tar.gz |
. 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)
Diffstat (limited to 'security')
-rw-r--r-- | security/hashish/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/hashish/Makefile b/security/hashish/Makefile index a6e0fa5..034e4f7 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 |