Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
@@ -0,0 +1,21 @@
$NetBSD: patch-configure,v 1.1 2014/12/30 15:51:11 wiz Exp $
pkgsrc doesn't have lib64 or targetdir so don't set it.
fixes build on linux.
http://sf.net/p/qore/code/6817/
--- configure.orig 2014-11-01 13:45:54.822586579 +0000
+++ configure
@@ -15674,14 +15674,6 @@ if test "$enable_64bit" = "yes"; then
*linux*) if test "$GXX" = "yes"; then
CXXFLAGS="$CXXFLAGS -m64"
fi
- # only set LIBSUFFIX=64 if /usr/lib64 exists
- if test -d /usr/lib64; then
- LIBSUFFIX=64
- fi
- target="${host_cpu}-${host_os}"
- if test -d /usr/lib/$target; then
- LIBSUFFIX=/$target
- fi
;;
*hpux*) if test "$host_cpu" = "ia64"; then
@@ -0,0 +1,14 @@
$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:51:11 wiz Exp $
* don't install .a file
http://sourceforge.net/p/qore/code/6293/
--- src/Makefile.in.orig 2013-10-05 10:23:40.000000000 +0000
+++ src/Makefile.in
@@ -677,7 +677,7 @@ uninstall-am: uninstall-libLTLIBRARIES
install-exec-hook:
mv $(DESTDIR)$(libdir)/$(MNAME).$(MODULE_SUFFIX) $(DESTDIR)$(libdir)/$(MNAME)-api-$(MODULE_API).qmod
- $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(RM_OTHER)
+ $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(DESTDIR)$(libdir)/$(MNAME).a $(RM_OTHER)
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.