d1ea956b94
Changelog is to big to detail here, refer to HOMEPAGE for details. I have been using 1.4.X for several months. Versions 1.4.0 and 1.4.2 have been tested in bulks by jasper@, thanks! Please contact me directly if you see regressions.
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
$OpenBSD: patch-cgi-bin_Makefile,v 1.1 2010/03/31 16:20:02 ajacoutot Exp $
|
|
--- cgi-bin/Makefile.orig Wed May 27 01:27:06 2009
|
|
+++ cgi-bin/Makefile Sun Aug 30 17:17:24 2009
|
|
@@ -143,10 +143,6 @@ install-libs: $(INSTALLSTATIC)
|
|
echo Installing libraries in $(LIBDIR)...
|
|
$(INSTALL_DIR) -m 755 $(LIBDIR)
|
|
$(INSTALL_LIB) $(LIBCUPSCGI) $(LIBDIR)
|
|
- if test $(LIBCUPSCGI) = "libcupscgi.so.1" -o $(LIBCUPSCGI) = "libcupscgi.sl.1"; then \
|
|
- $(RM) $(LIBDIR)/`basename $(LIBCUPSCGI) .1`; \
|
|
- $(LN) $(LIBCUPSCGI) $(LIBDIR)/`basename $(LIBCUPSCGI) .1`; \
|
|
- fi
|
|
if test $(LIBCUPSCGI) = "libcupscgi.1.dylib"; then \
|
|
$(RM) $(LIBDIR)/libcupscgi.dylib; \
|
|
$(LN) $(LIBCUPSCGI) $(LIBDIR)/libcupscgi.dylib; \
|
|
@@ -179,7 +175,7 @@ uninstall:
|
|
$(RM) $(LIBDIR)/libcupscgi.sl
|
|
$(RM) $(LIBDIR)/libcupscgi.sl.1
|
|
$(RM) $(LIBDIR)/libcupscgi.so
|
|
- $(RM) $(LIBDIR)/libcupscgi.so.1
|
|
+ $(RM) $(LIBDIR)/libcupscgi.so.${LIBcupscgi_VERSION}
|
|
-$(RMDIR) $(LIBDIR)
|
|
$(RM) $(INCLUDEDIR)/cups/cgi.h
|
|
$(RM) $(INCLUDEDIR)/cups/help-index.h
|
|
@@ -209,14 +205,12 @@ framedhelp:
|
|
|
|
|
|
#
|
|
-# libcupscgi.so.1, libcupscgi.sl.1
|
|
+# libcupscgi.so.${LIBcupscgi_VERSION}, libcupscgi.sl.1
|
|
#
|
|
|
|
-libcupscgi.so.1 libcupscgi.sl.1: $(LIBOBJS)
|
|
+libcupscgi.so.${LIBcupscgi_VERSION} libcupscgi.sl.1: $(LIBOBJS)
|
|
echo Linking $@...
|
|
$(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
|
|
- $(RM) `basename $@ .1`
|
|
- $(LN) $@ `basename $@ .1`
|
|
|
|
|
|
#
|