mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-29 06:57:58 -04:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
$NetBSD: patch-ab,v 1.12 2014/09/02 10:07:23 jperkin Exp $
|
|
|
|
Support MAKE_JOBS.
|
|
|
|
--- Makefile.in.orig 2009-06-21 11:17:33.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -25,21 +25,26 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
mkinstalldirs = $(SHELL) @top_srcdir@/build-aux/mkinstalldirs
|
|
|
|
+top_builddir = @top_builddir@
|
|
+LIBTOOL = @LIBTOOL@
|
|
+
|
|
#### End of system configuration section. ####
|
|
|
|
SHELL = /bin/sh
|
|
|
|
all : lib/localcharset.h force
|
|
- cd lib && $(MAKE) all
|
|
- cd preload && $(MAKE) all
|
|
- cd srclib && $(MAKE) all
|
|
- cd src && $(MAKE) all
|
|
- cd po && $(MAKE) all
|
|
- cd man && $(MAKE) all
|
|
- if test -d tests; then cd tests && $(MAKE) all; fi
|
|
+ (cd lib && $(MAKE) all)
|
|
+ (cd preload && $(MAKE) all)
|
|
+ (cd srclib && $(MAKE) all)
|
|
+ (cd src && $(MAKE) all)
|
|
+ (cd po && $(MAKE) all)
|
|
+ (cd man && $(MAKE) all)
|
|
+ (if test -d tests; then cd tests && $(MAKE) all; fi)
|
|
|
|
lib/localcharset.h :
|
|
- builddir="`pwd`"; cd libcharset && $(MAKE) all && $(MAKE) install-lib libdir="$$builddir/lib" includedir="$$builddir/lib"
|
|
+ builddir="`pwd`"; cd libcharset && $(MAKE) all && \
|
|
+ ${LIBTOOL} --mode=install cp lib/libcharset.la "$$builddir/lib/" && \
|
|
+ ${PAX} -rw include/*.h "$$builddir/"
|
|
|
|
# Installs the library and include files only. Typically called with only
|
|
# $(libdir) and $(includedir) - don't use $(prefix) and $(exec_prefix) here.
|