Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  6 Jul 2011 12:03:53 +0200 (CEST)
From:      Guido Falsi <mad@madpilot.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/158683: irc/inspircd: fix bsd.openssl.mk include
Message-ID:  <20110706100353.2F4B11BBD@megatron.madpilot.net>
Resent-Message-ID: <201107061010.p66AA7NI002568@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         158683
>Category:       ports
>Synopsis:       irc/inspircd: fix bsd.openssl.mk include
>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 Jul 06 10:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Guido Falsi
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
none
>Environment:
System: FreeBSD megatron.madpilot.net 8.2-STABLE FreeBSD 8.2-STABLE #1: Mon Jun 6 20:10:31 CEST 2011 root@megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64

>Description:

With a recent commit to inspircd port the path from the include for bsd.openssl.mk was removed.

This cannot work since this .mk is only in ${PORTSDIR} and does not have any recall from /usr/share/mk.

This works for bsd.port.mk and the like because there is a bsd.port.mk file in /usr/share/mk which recalls the one in PORTSDIR.

Following patch reverts the offending modification.

>How-To-Repeat:
>Fix:

diff -ruN inspircd.old/Makefile inspircd/Makefile
--- inspircd.old/Makefile	2011-07-06 11:51:17.560129023 +0200
+++ inspircd/Makefile	2011-07-06 11:51:42.956756616 +0200
@@ -98,7 +98,7 @@
 .endif
 
 .if defined(WITH_OPENSSL) && !defined(WITHOUT_OPENSSL)
-.include <bsd.openssl.mk>
+.include <${PORTSDIR}/Mk/bsd.openssl.mk>
 CONFIGURE_ARGS+=	--enable-openssl
 PLIST_SUB+=	OPENSSL=""
 .else
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110706100353.2F4B11BBD>