$OpenBSD: patch-libobjc_Makefile_in,v 1.1.1.1 2007/03/17 22:35:26 espie Exp $
--- libobjc/Makefile.in.orig	Fri Mar  2 00:58:28 2007
+++ libobjc/Makefile.in	Mon Mar 12 11:37:54 2007
@@ -274,15 +274,17 @@ doc: info dvi pdf html
 install-html:
 install-pdf:
 
+include $(top_srcdir)/../libversions
+
 libobjc$(libext).la: $(OBJS)
 	$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \
 		-rpath $(toolexeclibdir) \
-		-version-info $(LIBOBJC_VERSION) $(extra_ldflags_libobjc)
+		$(LIBobjc_LTVERSION) $(extra_ldflags_libobjc)
 
 libobjc_gc$(libext).la: $(OBJS_GC)
 	$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) \
 		-rpath $(toolexeclibdir) \
-		-version-info $(LIBOBJC_GC_VERSION) $(extra_ldflags_libobjc)
+		$(LIBobjc_gc_LTVERSION) $(extra_ldflags_libobjc)
 
 #
 # FIXME -- The following part does not fit in the libtool context. 
