$OpenBSD: patch-src_Makefile_in,v 1.2 2009/01/09 17:43:39 naddy Exp $
--- src/Makefile.in.orig	Tue Dec 18 05:23:55 2001
+++ src/Makefile.in	Fri Jan  9 17:38:46 2009
@@ -57,7 +57,7 @@ all : librep.la $(DL_OBJS) check-dl rep rep-config rep
 
 librep.la : $(OBJS) $(LIBOBJS) $(ALLOCA)
 	$(LIBTOOL) --mode=link $(CC) $(LDFLAGS) \
-	  -version-info $(libversion) -export-symbols librep.sym \
+	  ${LIBrep_LTVERSION} -export-symbols librep.sym \
 	  -o $@ $^ -rpath $(libdir) $(LIBS) $(GMP_LIBS)
 
 rep : $(REP_OBJS) $(EXTRA_LIBOBJS) librep.la
