ports/152330: [PATCH] net/ntp: doesn't build with openssl port

Alexander Krivnetsov akriventsov at hc.ru
Wed Nov 17 14:20:10 UTC 2010


>Number:         152330
>Category:       ports
>Synopsis:       [PATCH] net/ntp: doesn't build with openssl port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 17 14:20:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Krivnetsov
>Release:        8.1-RELEASE-p1
>Organization:
HostComm
>Environment:
FreeBSD web.phone.devel.hostcomm.ru 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Sat Oct  2 02:18:11 UTC 2010     root at tinderbox1.infra.hostcomm.ru:/usr/obj/usr/src/sys/CARP  amd64
>Description:
Can not build net/ntp with openssl from ports
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- net/ntp/Makefile.orig	2010-11-17 13:54:29.000000000 +0000
+++ net/ntp/Makefile	2010-11-17 13:55:57.000000000 +0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	ntp
 PORTVERSION?=	4.2.6p2
+PORTREVISION?=	1
 CATEGORIES=	net ipv6
 MASTER_SITES=	ftp://ftp.udel.edu/pub/ntp/ntp4/ \
 		http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
@@ -43,7 +44,8 @@
 CONFIGURE_ARGS+=	--without-crypto
 PLIST_SUB+=		SSL="@comment "
 .else
-USE_OPENSSL=		yes
+# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
+.include "${PORTSDIR}/Mk/bsd.openssl.mk"
 CONFIGURE_ARGS+=	--with-openssl-incdir=${OPENSSLINC} \
 			--with-openssl-libdir=${OPENSSLLIB}
 PLIST_SUB+=		SSL=""


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list