summaryrefslogtreecommitdiff
path: root/ham/predict
diff options
context:
space:
mode:
authordbj <dbj@pkgsrc.org>2020-11-29 21:16:52 +0000
committerdbj <dbj@pkgsrc.org>2020-11-29 21:16:52 +0000
commit8bc36a50f97842e08f72e5248fd5ab3dd7722ff7 (patch)
tree5555952d22488d5b663fcc85754f2869f48eec67 /ham/predict
parent01285d5ca118ed40bc860acb9611b85543ea0f62 (diff)
downloadpkgsrc-8bc36a50f97842e08f72e5248fd5ab3dd7722ff7.tar.gz
ham/predict: use PTHREAD_LDFLAGS and PTHREAD_LIBS
Diffstat (limited to 'ham/predict')
-rw-r--r--ham/predict/Makefile4
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