diff options
author | glewis <glewis@FreeBSD.org> | 2002-06-25 14:43:43 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2002-06-25 14:43:43 +0800 |
commit | 70dcaaa18b7a166e31d8fe13387ce5082db20d43 (patch) | |
tree | dd400c83e7195002f9a8c49fc4b222089f610df5 /security | |
parent | d8268dd10d32df940b548105700ba7bf6f6fd63d (diff) | |
download | freebsd-ports-gnome-70dcaaa18b7a166e31d8fe13387ce5082db20d43.tar.gz freebsd-ports-gnome-70dcaaa18b7a166e31d8fe13387ce5082db20d43.tar.zst freebsd-ports-gnome-70dcaaa18b7a166e31d8fe13387ce5082db20d43.zip |
. 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 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 |