From carl@stagecraft.cx  Mon Apr 19 04:00:54 2004
Return-Path: <carl@stagecraft.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 10E9F16A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2004 04:00:54 -0700 (PDT)
Received: from brain.stagecraft.cx (brain.stagecraft.cx [202.45.97.24])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 419B043D1D
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2004 04:00:53 -0700 (PDT)
	(envelope-from carl@stagecraft.cx)
Received: from bumper.stagecraft.cx (bumper.stagecraft.cx [172.30.0.5])
	by brain.stagecraft.cx (8.12.9/8.12.9) with ESMTP id i3JB0pWu090705
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2004 21:00:52 +1000 (EST)
	(envelope-from carl@stagecraft.cx)
Received: from bumper.stagecraft.cx (localhost [127.0.0.1])
	by bumper.stagecraft.cx (8.12.10/8.12.10) with ESMTP id i3JAxHET063159
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 19 Apr 2004 20:59:17 +1000 (EST)
	(envelope-from carl@bumper.stagecraft.cx)
Received: (from carl@localhost)
	by bumper.stagecraft.cx (8.12.10/8.12.10/Submit) id i3JAxGYG063158;
	Mon, 19 Apr 2004 20:59:16 +1000 (EST)
	(envelope-from carl)
Message-Id: <200404191059.i3JAxGYG063158@bumper.stagecraft.cx>
Date: Mon, 19 Apr 2004 20:59:16 +1000 (EST)
From: Carl Makin <carl@stagecraft.cx>
Reply-To: Carl Makin <carl@stagecraft.cx>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Port uses pkgconfig but fails to USE_GNOME appropriately.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65758
>Category:       ports
>Synopsis:       [patch] comms/hamlib uses pkgconfig but fails to USE_GNOME appropriately.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 04:10:15 PDT 2004
>Closed-Date:    Tue Apr 20 05:32:34 PDT 2004
>Last-Modified:  Tue Apr 20 05:32:34 PDT 2004
>Originator:     Carl Makin
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD bumper.stagecraft.cx 4.9-STABLE FreeBSD 4.9-STABLE #14: Sun Feb 8 19:11:25 EST 2004 carl@bumper.stagecraft.cx:/usr/obj/usr/src/sys/BUMPER i386


	
>Description:
	
Port needs pkgconfig but Makefile doesn't list it as a dependancy.
Port installs "hamlib.pc" in the wrong place (/usr/local/lib/pkgconfig/hamlib.pc).
>How-To-Repeat:
Um, install the current port. :)
>Fix:
Install the attached patch.

I notice there is an updated port for v1.2.0 in the pr database (ports/63013).  It has
the same problem as the current 1.1.4 version.

--- hamlib.fix begins here ---
--- Makefile.orig	Mon Apr 19 19:28:44 2004
+++ Makefile	Mon Apr 19 20:41:28 2004
@@ -18,6 +18,8 @@
 
 USE_PERL5=	yes
 USE_LIBTOOL_VER=	13
+USE_GNOME=	pkgconfig gnomehack
+
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
 
 MAN1=		rigctl.1 rotctl.1
--- hamlib.fix ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Apr 20 05:32:27 PDT 2004 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65758 
>Unformatted:
