493e5dd6aa
* Fix LLVM warnings (HEAD -> master, origin/master, origin/HEAD) * Ignore shared library * Only build libraries if needed * Make configure executable * Add configure script * Update ignored files * Add getpeerip, setfork functions * Make it compile under Windows * Document Cygwin * Changes to compile with a cygwin compiler. * Make it compile with gcc-4 * Fix setfork return type. * Conditionally compile funcitonality that is not part of WIN32. * _exit is a lot more efficient than exit. * Add query string in the log file. * Implement forking server. Add swill_setfork() function. * Add swill_getquerystring function. * Fix SVG mime type. See http://www.mozilla.org/projects/svg/faq.html * Added logging statements for errors. * Add application/svg type for the .svg suffix. * Added swill_getrlen and swill_getrequest functions. * Added conditional compilation directive. * Added char *swill_getpeerip(const char *name) function. * Use scanf %p for portability with 64 bit architectures. * WIN32 port. pkgsrc changes: * Libtoolize to fix build on OS X (and perhaps others).
47 lines
1.1 KiB
Text
47 lines
1.1 KiB
Text
$NetBSD: patch-Makefile.in,v 1.1 2016/08/11 12:51:15 schmonz Exp $
|
|
|
|
Libtoolize.
|
|
|
|
--- Makefile.in.orig 2016-01-16 13:37:22.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -15,35 +15,26 @@ RANLIB = @RANLIB@
|
|
|
|
# Installer
|
|
|
|
-INSTALL = ./install-sh -c
|
|
+INSTALL = install -c
|
|
INSTALL_DATA = ${INSTALL} -m 644
|
|
INSTALL_PROGRAM= ${INSTALL} -m 755
|
|
|
|
-all: static
|
|
+all: shared
|
|
|
|
static:
|
|
cd Source/Objects; $(MAKE)
|
|
- cd Source/SWILL; $(MAKE) static
|
|
|
|
-shared:
|
|
+shared: static
|
|
cd Source/SWILL; $(MAKE) shared
|
|
|
|
install:
|
|
- @for i in *@SO@; \
|
|
+ @cd Source/SWILL && for i in *.la; \
|
|
do \
|
|
if test -f $$i; then \
|
|
echo "Installing $(LIB_DIR)/$$i"; \
|
|
- $(INSTALL_PROGRAM) $$i $(LIB_DIR)/$$i; \
|
|
+ libtool --mode=install $(INSTALL_PROGRAM) $$i $(LIB_DIR)/$$i; \
|
|
fi; \
|
|
done;
|
|
- @for i in *.a; \
|
|
- do \
|
|
- if test -f $$i; then \
|
|
- echo "Installing $(LIB_DIR)/$$i"; \
|
|
- $(INSTALL_DATA) $$i $(LIB_DIR)/$$i; \
|
|
- $(RANLIB) $(LIB_DIR)/$$i; \
|
|
- fi; \
|
|
- done;
|
|
|
|
@echo "Installing $(INCLUDE_DIR)/swill.h..."
|
|
@$(INSTALL_DATA) Include/swill.h $(INCLUDE_DIR)/swill.h
|