diff options
author | dbj <dbj@pkgsrc.org> | 2020-11-29 21:16:52 +0000 |
---|---|---|
committer | dbj <dbj@pkgsrc.org> | 2020-11-29 21:16:52 +0000 |
commit | 8bc36a50f97842e08f72e5248fd5ab3dd7722ff7 (patch) | |
tree | 5555952d22488d5b663fcc85754f2869f48eec67 /ham | |
parent | 01285d5ca118ed40bc860acb9611b85543ea0f62 (diff) | |
download | pkgsrc-8bc36a50f97842e08f72e5248fd5ab3dd7722ff7.tar.gz |
ham/predict: use PTHREAD_LDFLAGS and PTHREAD_LIBS
Diffstat (limited to 'ham')
-rw-r--r-- | ham/predict/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ham/predict/Makefile b/ham/predict/Makefile index c24ef508219..e90df203ad4 100644 --- a/ham/predict/Makefile +++ b/ham/predict/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2020/11/29 21:16:36 dbj Exp $ +# $NetBSD: Makefile,v 1.10 2020/11/29 21:16:52 dbj Exp $ # DISTNAME= predict-2.2.6 @@ -21,7 +21,7 @@ do-configure: printf "const char version[] = \"$$(cat "${WRKSRC}/.version")\";\n" >> "${WRKSRC}/predict.h" do-build: - cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} predict.c -o predict -lm -lcurses -lpthread + cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} ${PTHREAD_LDFLAGS} predict.c -o predict -lcurses ${PTHREAD_LIBS} -lm ${SED} -e 's|@PREFIX@|${PREFIX}|g' ${FILESDIR}/vocalizer.sh > ${WRKSRC}/vocalizer/vocalizer.sh INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 share/predict/default share/predict/vocalizer |