pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg pkgtools/pkg: only require libbsd on Linux.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e786755afe41
branches:  trunk
changeset: 390461:e786755afe41
user:      vins <vins%pkgsrc.org@localhost>
date:      Mon Dec 19 16:49:59 2022 +0000

description:
pkgtools/pkg: only require libbsd on Linux.

To date, we don't know of any platform but Linux where libbsd compiles
fine.

diffstat:

 pkgtools/pkg/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r a71cb33d753c -r e786755afe41 pkgtools/pkg/Makefile
--- a/pkgtools/pkg/Makefile     Mon Dec 19 16:45:42 2022 +0000
+++ b/pkgtools/pkg/Makefile     Mon Dec 19 16:49:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2021/05/14 12:05:38 nia Exp $
+# $NetBSD: Makefile,v 1.30 2022/12/19 16:49:59 vins Exp $
 
 DISTNAME=      pkg-1.10.99.7
 CATEGORIES=    pkgtools
@@ -147,7 +147,9 @@
 
 .if ${OPSYS} != "FreeBSD" && ${OPSYS} != "DragonFly" && ${OPSYS} != "NetBSD"
 .include "../../archivers/libarchive/buildlink3.mk"
-.include "../../devel/libbsd/buildlink3.mk"
+.  if ${OPSYS} == "Linux"
+.    include "../../devel/libbsd/buildlink3.mk"
+.  endif
 .endif
 .include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index