pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/predict



Module Name:    pkgsrc
Committed By:   dbj
Date:           Sun Nov 29 21:16:52 UTC 2020

Modified Files:
        pkgsrc/ham/predict: Makefile

Log Message:
ham/predict: use PTHREAD_LDFLAGS and PTHREAD_LIBS


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/ham/predict/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/predict/Makefile
diff -u pkgsrc/ham/predict/Makefile:1.9 pkgsrc/ham/predict/Makefile:1.10
--- pkgsrc/ham/predict/Makefile:1.9     Sun Nov 29 21:16:36 2020
+++ pkgsrc/ham/predict/Makefile Sun Nov 29 21:16:52 2020
@@ -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



Home | Main Index | Thread Index | Old Index