ports/print/cups/patches/patch-cups_Makefile

29 lines
703 B
Text

Index: cups/Makefile
--- cups/Makefile.orig
+++ cups/Makefile
@@ -354,11 +354,9 @@ uninstall:
# libcups.so.2
#
-libcups.so.2: $(LIBOBJS)
+libcups.so.${LIBcups_VERSION}: $(LIBOBJS)
echo Linking $@...
$(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ $(LIBOBJS) $(LIBS)
- $(RM) `basename $@ .2`
- $(LN) $@ `basename $@ .2`
#
@@ -420,11 +418,9 @@ libcups2.def: $(LIBOBJS) $(IMAGEOBJS) Makefile
# libcupsimage.so.2
#
-libcupsimage.so.2: $(IMAGEOBJS) libcups.so.2
+libcupsimage.so.${LIBcupsimage_VERSION}: $(IMAGEOBJS) libcups.so.${LIBcups_VERSION}
echo Linking $@...
$(DSO) $(ARCHFLAGS) $(ALL_DSOFLAGS) -o $@ $(IMAGEOBJS) $(LINKCUPS)
- $(RM) `basename $@ .2`
- $(LN) $@ `basename $@ .2`
#