From 06dd0c6707d1c0d6bada326bc7081a649f9081b6 Mon Sep 17 00:00:00 2001 From: Dirk Froemberg Date: Tue, 12 Jan 1999 23:37:51 +0000 Subject: [PATCH] Build a shared version of the library, too. (maintainer didn't respond within a week, aka maintainer timeout) --- net/radiusclient/Makefile | 25 +++++++++++++++---------- net/radiusclient/pkg-plist | 4 ++++ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/net/radiusclient/Makefile b/net/radiusclient/Makefile index 48097736bdaf..8c08920e38d6 100644 --- a/net/radiusclient/Makefile +++ b/net/radiusclient/Makefile @@ -3,20 +3,25 @@ # Date created: Wed Nov 4 08:48:08 EST 1998 # Whom: maurice # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/11/04 03:17:53 jkoshy Exp $ # -DISTNAME= radiusclient-0.3 -CATEGORIES= net -MASTER_SITES= ftp://ftp.cityline.net/pub/radiusclient/ +DISTNAME= radiusclient-0.3 +CATEGORIES= net +MASTER_SITES= ftp://ftp.cityline.net/pub/radiusclient/ -MAINTAINER= maurice@serc.rmit.edu.au +MAINTAINER= maurice@serc.rmit.edu.au -USE_GMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared=NO +BUILD_DEPENDS= /nonexistent:${PORTSDIR}/devel/libtool:patch -post-configure: - (cd ${WRKSRC}; ./ltconfig --disable-shared ltmain.sh) +USE_GMAKE= yes +GNU_CONFIGURE= yes + +pre-configure: + ${CP} ${WRKDIRPREFIX}${PORTSDIR}/devel/libtool/work/libtool-1.2/ltconfig ${WRKSRC} + ${CP} ${WRKDIRPREFIX}${PORTSDIR}/devel/libtool/work/libtool-1.2/ltmain.sh ${WRKSRC} + +post-install: + ${LDCONFIG} -m ${PREFIX}/lib .include diff --git a/net/radiusclient/pkg-plist b/net/radiusclient/pkg-plist index 70d9ca0ef8bd..5ada74bf2958 100644 --- a/net/radiusclient/pkg-plist +++ b/net/radiusclient/pkg-plist @@ -9,9 +9,13 @@ etc/radiusclient/servers include/radiusclient.h lib/libradiusclient.la lib/libradiusclient.a +lib/libradiusclient.so +lib/libradiusclient.so.0.3 sbin/radlogin sbin/radstatus sbin/radacct sbin/radexample sbin/login.radius @dirrm etc/radiusclient +@exec /sbin/ldconfig -m %D/lib +@unexec /sbin/ldconfig -R