ports/76643: sysutils/pkg_install-devel with openssl

dirk.meyer at dinoex.sub.org dirk.meyer at dinoex.sub.org
Tue Jan 25 05:10:08 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list