$OpenBSD: patch-filter_Makefile,v 1.13 2014/11/15 10:22:23 ajacoutot Exp $
--- filter/Makefile.orig	Wed May 29 13:51:34 2013
+++ filter/Makefile	Fri Oct  3 16:01:21 2014
@@ -266,12 +266,10 @@ gziptoany:	gziptoany.o ../Makedefs ../cups/$(LIBCUPS)
 # libcupsimage.so.2, libcupsimage.sl.2
 #
 
-libcupsimage.so.2 libcupsimage.sl.2:	$(IMAGEOBJS)
+libcupsimage.so.${LIBcupsimage_VERSION} libcupsimage.sl.2:	$(IMAGEOBJS)
 	echo Linking $@...
 	$(DSO) $(ARCHFLAGS) $(DSOFLAGS) -o $@ $(IMAGEOBJS) $(DSOLIBS) \
 		-L../cups $(LINKCUPS)
-	$(RM) `basename $@ .2`
-	$(LN) $@ `basename $@ .2`
 
 
 #
