openbsd-ports/print/cups/patches/patch-ppdc_Makefile
ajacoutot d1ea956b94 Major update to cups-1.4.3.
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.
2010-03-31 16:20:02 +00:00

28 lines
1.1 KiB
Plaintext

$OpenBSD: patch-ppdc_Makefile,v 1.1 2010/03/31 16:20:02 ajacoutot Exp $
--- ppdc/Makefile.orig Wed May 27 01:27:06 2009
+++ ppdc/Makefile Sun Aug 30 16:46:52 2009
@@ -167,10 +167,6 @@ install-libs: $(INSTALLSTATIC)
echo Installing libraries in $(LIBDIR)...
$(INSTALL_DIR) -m 755 $(LIBDIR)
$(INSTALL_LIB) $(LIBCUPSPPDC) $(LIBDIR)
- if test $(LIBCUPSPPDC) = "libcupsppdc.so.1" -o $(LIBCUPSPPDC) = "libcupsppdc.sl.1"; then \
- $(RM) $(LIBDIR)/`basename $(LIBCUPSPPDC) .1`; \
- $(LN) $(LIBCUPSPPDC) $(LIBDIR)/`basename $(LIBCUPSPPDC) .1`; \
- fi
if test $(LIBCUPSPPDC) = "libcupsppdc.1.dylib"; then \
$(RM) $(LIBDIR)/libcupsppdc.dylib; \
$(LN) $(LIBCUPSPPDC) $(LIBDIR)/libcupsppdc.dylib; \
@@ -335,11 +331,9 @@ testcatalog: testcatalog.o libcupsppdc.a ../cups/libc
# libcupsppdc.so.1, libcupsppdc.sl.1
#
-libcupsppdc.so.1 libcupsppdc.sl.1: $(LIBOBJS) ../cups/$(LIBCUPS)
+libcupsppdc.so.${LIBcupsppdc_VERSION} libcupsppdc.sl.1: $(LIBOBJS) ../cups/$(LIBCUPS)
echo Linking $@...
$(DSOXX) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(LIBOBJS) $(LINKCUPS)
- $(RM) `basename $@ .1`
- $(LN) $@ `basename $@ .1`
#