diff options
author | kolla <kolla> | 2009-04-01 14:19:27 +0000 |
---|---|---|
committer | kolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2009-04-01 14:19:27 +0000 |
commit | be0f0052a350328a842da8362ad41a33c7576c14 (patch) | |
tree | 4a7d94546d2d39118350ccd1a2a57fb6953fb4b2 | |
parent | b126ed57e602a7aa2789d83bbc6aaa545b656a57 (diff) |
New and improved - tvinger gjennom configure
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@494 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r-- | packaging/pkgsrc/net/radsecproxy/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
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 |