$OpenBSD: patch-filter_Makefile,v 1.14 2016/09/19 09:16:51 ajacoutot Exp $
--- filter/Makefile.orig	Wed Sep 14 01:39:47 2016
+++ filter/Makefile	Sat Sep 17 15:26:03 2016
@@ -232,12 +232,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`
 
 
 #
