0e699bd9f7
with OpenSSL; this version adds an exemption clause). Much cleanup of the port, particularly giving a simpler installation for new users. Thanks pea@ for testing. Maintainer timeout.
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
$OpenBSD: patch-src_modules_rules_mak,v 1.6 2010/05/17 16:39:25 sthen Exp $
|
|
--- src/modules/rules.mak.orig Wed Dec 30 15:44:35 2009
|
|
+++ src/modules/rules.mak Mon May 10 14:10:43 2010
|
|
@@ -121,9 +121,9 @@ build-module: $(TARGET).la $(RLM_UTILS)
|
|
done
|
|
|
|
$(TARGET).la: $(LT_OBJS)
|
|
- $(LIBTOOL) --mode=link $(CC) -release $(RADIUSD_VERSION) \
|
|
+ $(LIBTOOL) --mode=link $(CC) -avoid-version \
|
|
-module $(LINK_MODE) $(LDFLAGS) $(RLM_LDFLAGS) -o $@ \
|
|
- -rpath $(libdir) $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS)
|
|
+ -rpath $(libdir)/freeradius $^ $(LIBRADIUS) $(RLM_LIBS) $(LIBS)
|
|
|
|
#######################################################################
|
|
#
|
|
@@ -170,7 +170,5 @@ install:
|
|
@[ "x$(RLM_INSTALL)" = "x" ] || $(MAKE) $(MFLAGS) $(RLM_INSTALL)
|
|
if [ "x$(TARGET)" != "x" ]; then \
|
|
$(LIBTOOL) --mode=install $(INSTALL) -c \
|
|
- $(TARGET).la $(R)$(libdir)/$(TARGET).la || exit $$?; \
|
|
- rm -f $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la; \
|
|
- ln -s $(TARGET).la $(R)$(libdir)/$(TARGET)-$(RADIUSD_VERSION).la || exit $$?; \
|
|
+ $(TARGET).la $(R)$(libdir)/freeradius/$(TARGET).la || exit $$?; \
|
|
fi
|