From okazaki@be.to Thu May  6 07:37:14 1999
Return-Path: <okazaki@be.to>
Received: from smtp.mtci.ne.jp (smtp.mtci.ne.jp [210.231.230.8])
	by hub.freebsd.org (Postfix) with ESMTP id 3E19615577
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  6 May 1999 07:36:54 -0700 (PDT)
	(envelope-from okazaki@be.to)
Received: from acidrain (ppp15-Mobara1.mtci.ne.jp [210.172.1.217])
	by smtp.mtci.ne.jp (8.8.8/3.6W) with SMTP id XAA16478
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 6 May 1999 23:36:29 +0900
Received: (qmail 2300 invoked by uid 1001); 6 May 1999 14:26:59 -0000
Message-Id: <19990506142659.2299.qmail@acidrain.localnet>
Date: 6 May 1999 14:26:59 -0000
From: okazaki@be.to
Reply-To: okazaki@be.to
To: FreeBSD-gnats-submit@freebsd.org
Subject: devel/glib12 post-install rule fix 
X-Send-Pr-Version: 3.2

>Number:         11542
>Category:       ports
>Synopsis:       devel/glib12 post-install rule fix
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  6 07:40:02 PDT 1999
>Closed-Date:    Thu May 6 12:59:15 PDT 1999
>Last-Modified:  Thu May  6 13:00:05 PDT 1999
>Originator:     OKAZAKI Tetsurou
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
Personal.
>Environment:

	ports-current, Makefile,v 1.20

>Description:

	The port Makefile have a wrong implementation of
        the Installing info/dir idiom.

>How-To-Repeat:

	Remove ${PREFIX}/info/dir then do make install.

>Fix:

	Please apply the following patch.
	
--- glib12/Makefile~	Mon May  3 07:22:33 1999
+++ glib12/Makefile	Thu May  6 19:45:28 1999
@@ -20,7 +20,7 @@
 
 post-install:
 	@if [ ! -f ${PREFIX}/info/dir ]; then \
-	  ${SED} -ne '1,/Menu:/p' ${PREFIX}/info/dir > ${PREFIX}/info/dir; \
+	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
 	 fi
 	@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
 


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mharo 
State-Changed-When: Thu May 6 12:59:15 PDT 1999 
State-Changed-Why:  
The info/dir stuff has been moved to bsd.port.mk.   
I committed using that change. 
>Unformatted:
