openbsd-ports/print/cups/patches/patch-ppdc_Makefile
ajacoutot dd310005da Major update to cups-1.5.0.
Thanks to landry@ for the bulk testing.
2011-09-08 10:33:12 +00:00

28 lines
1.1 KiB
Plaintext

$OpenBSD: patch-ppdc_Makefile,v 1.2 2011/09/08 10:33:12 ajacoutot Exp $
--- ppdc/Makefile.orig Thu Jan 6 23:20:15 2011
+++ ppdc/Makefile Fri Sep 2 09:33:11 2011
@@ -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/$(LI
# 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`
#