diff options
author | nia <nia@pkgsrc.org> | 2019-09-07 23:30:45 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-09-07 23:30:45 +0000 |
commit | 84386c62ca447245d1564d1afd30f83b9b97f667 (patch) | |
tree | 858260bfed0fee164068a7d66e47d10b9b7ab707 /pkgtools/pkg | |
parent | bfbb491eca69fcea46007d8e8d834d98bd819106 (diff) | |
download | pkgsrc-84386c62ca447245d1564d1afd30f83b9b97f667.tar.gz |
pkg: needs pthreads.
fixes build on netbsd-9.
Diffstat (limited to 'pkgtools/pkg')
-rw-r--r-- | pkgtools/pkg/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkg/Makefile b/pkgtools/pkg/Makefile index 8bca6c92fe9..7c8274f2459 100644 --- a/pkgtools/pkg/Makefile +++ b/pkgtools/pkg/Makefile @@ -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 @@ GNU_CONFIGURE= yes 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 @@ BUILDLINK_TRANSFORM+= rm:-Wl,--enable-new-dtags .if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly" && ${OPSYS} != "NetBSD" .include "../../archivers/libarchive/buildlink3.mk" .endif +.include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |