Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2005 06:08:02 +0100 (CET)
From:      dirk.meyer@dinoex.sub.org
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76643: sysutils/pkg_install-devel with openssl
Message-ID:  <200501250508.j0P582fT020787@home.dinoex.sub.de>
Resent-Message-ID: <200501250510.j0P5A7ll062944@freefall.freebsd.org>

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

>Number:         76643
>Category:       ports
>Synopsis:       sysutils/pkg_install-devel with openssl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 25 05:10:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Meyer
>Release:        FreeBSD 4.11 i386
>Organization:
privat
>Environment:
	System:  FreeBSD 4.11

>Description:

	in a system or jail with "OPENNSL=NO" in base,
	but with openssl installed from ports.

>How-To-Repeat:

	sysutils/pkg_install-devel fails to build.
	missing includes and libs.

	maintainer contacted: 2005-01-16
		to=<eik@FreeBSD.org>
		relay=mx1.freebsd.org. [216.136.204.125],
		dsn=2.0.0, stat=Sent (Ok: queued as E63DC43D5A)

>Fix:

	Aply this patch:


Log:
- allow build with openssl installed from ports.

Submitted by: dinoex
Reported and tested by: William Fletcher

Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/pkg_install-devel/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	13 Aug 2004 17:01:01 -0000	1.16
+++ Makefile	25 Jan 2005 05:01:58 -0000
@@ -36,6 +36,8 @@
 USE_OPENSSL=		yes
 MAN1+=			pkg_check.1 pkg_sign.1
 PLIST_SUB+=		OPENSSL=""
+CFLAGS+=		-I${OPENSSLINC}
+LDFLAGS+=		-L${OPENSSLLIB}
 .else
 MAKE_ARGS=		-DNO_OPENSSL
 PLIST_SUB+=		OPENSSL="@comment "
>Release-Note:
>Audit-Trail:
>Unformatted:



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