openbsd-ports/net/freeradius/patches/patch-src_lib_Makefile
rui 5cb040a00c - update freeradius to 2.0.3. Check the Changelog for more information.
"if it works for you, I'd say commit it" ajacoutot@
2008-03-21 19:25:33 +00:00

19 lines
721 B
Plaintext

$OpenBSD: patch-src_lib_Makefile,v 1.5 2008/03/21 19:25:33 rui Exp $
--- src/lib/Makefile.orig Mon Mar 17 06:28:54 2008
+++ src/lib/Makefile Fri Mar 21 16:50:50 2008
@@ -40,7 +40,7 @@ TARGET = $(LIBPREFIX)freeradius-radius
all: $(TARGET).la
$(TARGET).la: $(LT_OBJS)
- $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
+ $(LIBTOOL) --mode=link $(CC) \
$(LDFLAGS) $(LINK_MODE) -o $@ -rpath $(libdir) $^
$(LT_OBJS): $(INCLUDES)
@@ -53,5 +53,3 @@ install: all
$(INSTALL) -d -m 755 $(R)$(libdir)
$(LIBTOOL) --mode=install $(INSTALL) -c $(TARGET).la \
$(R)$(libdir)/$(TARGET).la
- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la;
- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la