pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/freeradius freeradius: Move openssl buildlink into...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0027778fdfae
branches:  trunk
changeset: 313753:0027778fdfae
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Oct 08 15:50:39 2018 +0000

description:
freeradius: Move openssl buildlink into common file.

Also add explicit openssl configure arguments.  Fixes issue where the module
builds could not find openssl.

diffstat:

 net/freeradius/Makefile        |  3 +--
 net/freeradius/Makefile.common |  5 ++++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (38 lines):

diff -r eabdb94be193 -r 0027778fdfae net/freeradius/Makefile
--- a/net/freeradius/Makefile   Mon Oct 08 14:49:17 2018 +0000
+++ b/net/freeradius/Makefile   Mon Oct 08 15:50:39 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2018/09/25 12:20:05 jperkin Exp $
+# $NetBSD: Makefile,v 1.99 2018/10/08 15:50:39 jperkin Exp $
 
 .include "Makefile.common"
 
@@ -219,5 +219,4 @@
 post-install:
        ${RM} -f ${DESTDIR}${PREFIX}/lib/*.a ${DESTDIR}${PREFIX}/lib/*.la
 
-.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r eabdb94be193 -r 0027778fdfae net/freeradius/Makefile.common
--- a/net/freeradius/Makefile.common    Mon Oct 08 14:49:17 2018 +0000
+++ b/net/freeradius/Makefile.common    Mon Oct 08 15:50:39 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.3 2018/09/25 12:16:36 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.4 2018/10/08 15:50:39 jperkin Exp $
 # used by net/freeradius/Makefile.module
 
 DISTNAME=              freeradius-server-3.0.17
@@ -14,6 +14,8 @@
 USE_TOOLS+=            gmake perl
 USE_LANGUAGES+=                c c++
 
+CONFIGURE_ARGS+=       --with-openssl-include-dir=${BUILDLINK_PREFIX.openssl}/include
+CONFIGURE_ARGS+=       --with-openssl-lib-dir=${BUILDLINK_PREFIX.openssl}/lib
 CONFIGURE_ARGS+=       --without-rlm_yubikey
 
 CFLAGS.SunOS+=         -D_XPG4_2 -D__EXTENSIONS__
@@ -27,3 +29,4 @@
 .include "../../databases/gdbm/buildlink3.mk"
 .include "../../devel/talloc/buildlink3.mk"
 .include "../../net/libpcap/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index