pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pkg
Module Name: pkgsrc
Committed By: nia
Date: Sat Sep 7 23:30:46 UTC 2019
Modified Files:
pkgsrc/pkgtools/pkg: Makefile
Log Message:
pkg: needs pthreads.
fixes build on netbsd-9.
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/pkgtools/pkg/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pkg/Makefile
diff -u pkgsrc/pkgtools/pkg/Makefile:1.23 pkgsrc/pkgtools/pkg/Makefile:1.24
--- pkgsrc/pkgtools/pkg/Makefile:1.23 Wed Jul 4 13:40:32 2018
+++ pkgsrc/pkgtools/pkg/Makefile Sat Sep 7 23:30:45 2019
@@ -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-ne
.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