pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/pkgtools/pkg pkg: needs pthreads.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ca6b7b6bcb59
branches: trunk
changeset: 400945:ca6b7b6bcb59
user: nia <nia%pkgsrc.org@localhost>
date: Sat Sep 07 23:30:45 2019 +0000
description:
pkg: needs pthreads.
fixes build on netbsd-9.
diffstat:
pkgtools/pkg/Makefile | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 79ddb1228da5 -r ca6b7b6bcb59 pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile Sat Sep 07 23:18:57 2019 +0000
+++ b/pkgtools/pkg/Makefile Sat Sep 07 23:30:45 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2018/07/04 13:40:32 jperkin Exp $
+# $NetBSD: Makefile,v 1.24 2019/09/07 23:30:45 nia Exp $
DISTNAME= pkg-1.9.99.4
PKGREVISION= 1
@@ -16,6 +16,7 @@
USE_CWRAPPERS= no
USE_LANGUAGES= c
+LDFLAGS+= -pthread
CPPFLAGS+= -D_LOCALBASE="\"${PREFIX}\""
CPPFLAGS+= -DPORTSDIR="\"${PKG.portsdir}\""
CPPFLAGS+= -DDEFAULT_VULNXML_URL="\"http://muscles.dragonflybsd.org/pkgsrc-vuxml/vuln.xml.bz2\""
@@ -149,4 +150,5 @@
.if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly" && ${OPSYS} != "NetBSD"
.include "../../archivers/libarchive/buildlink3.mk"
.endif
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index