Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,19 @@
$NetBSD: patch-src_program.cpp,v 1.1 2016/07/27 21:14:36 kamil Exp $
Add NetBSD support.
--- src/program.cpp.orig 2016-07-27 09:04:07.000000000 +0000
+++ src/program.cpp
@@ -244,8 +244,11 @@ void printVersion() {
env = "GNU/LINUX";
#endif //linux
#ifdef __FreeBSD__
- env = "BSD";
+ env = "FREEBSD";
#endif //__FreeBSD__
+#ifdef __NetBSD__
+ env = "NETBSD";
+#endif //__NetBSD__
#ifdef __APPLE__
env = "MAC";
#endif //__APPLE__