From be0f0052a350328a842da8362ad41a33c7576c14 Mon Sep 17 00:00:00 2001 From: kolla Date: Wed, 1 Apr 2009 14:19:27 +0000 Subject: New and improved - tvinger gjennom configure git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@494 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- packaging/pkgsrc/net/radsecproxy/Makefile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'packaging/pkgsrc/net/radsecproxy') diff --git a/packaging/pkgsrc/net/radsecproxy/Makefile b/packaging/pkgsrc/net/radsecproxy/Makefile index 7d206f3..72cbb44 100644 --- a/packaging/pkgsrc/net/radsecproxy/Makefile +++ b/packaging/pkgsrc/net/radsecproxy/Makefile @@ -19,17 +19,19 @@ RCD_SCRIPTS= radsecproxy INSTALLATION_DIRS= sbin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${EGDIR} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} +CONFIGURE_ARGS+= --enable-udp +CONFIGURE_ARGS+= --enable-tcp +CONFIGURE_ARGS+= --disable-dtls # DTLS is not supported in OpenSSL on *BSD yet! +CONFIGURE_ARGS+= --disable-tls # Enable only if you _really_ need it + do-patch: - ${SED} 's%\(^all: .*\)%& catgconf%1' ${WRKSRC}/Makefile > ${WRKSRC}/Makefile.tmp - mv ${WRKSRC}/Makefile.tmp ${WRKSRC}/Makefile for f in ${WRKSRC}/* ; do \ ${SED} 's%\(/etc/radsecproxy.conf\)%/usr/pkg&%g' < $${f} > $${f}.tmp ; mv $${f}.tmp $${f} ; \ done -CONFIGURE_ARGS+= --enable-udp -CONFIGURE_ARGS+= --enable-tcp -CONFIGURE_ARGS+= --enable-tls -CONFIGURE_ARGS+= --enable-dtls +do-configure: + cd ${WRKSRC} && sh ./configure ${CONFIGURE_ARGS} do-install: ${INSTALL_MAN} ${WRKSRC}/radsecproxy.1 ${PREFIX}/${PKGMANDIR}/man1 -- cgit v1.1