pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/ham/predict ham/predict: use PTHREAD_LDFLAGS and PTHRE...
details: https://anonhg.NetBSD.org/pkgsrc/rev/63d2d2033294
branches: trunk
changeset: 442738:63d2d2033294
user: dbj <dbj%pkgsrc.org@localhost>
date: Sun Nov 29 21:16:52 2020 +0000
description:
ham/predict: use PTHREAD_LDFLAGS and PTHREAD_LIBS
diffstat:
ham/predict/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 79e1ac78dedc -r 63d2d2033294 ham/predict/Makefile
--- a/ham/predict/Makefile Sun Nov 29 21:16:36 2020 +0000
+++ b/ham/predict/Makefile Sun Nov 29 21:16:52 2020 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index