From wtp@mud.pl  Fri Jun 20 13:59:59 2003
Return-Path: <wtp@mud.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id CCB4337B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jun 2003 13:59:59 -0700 (PDT)
Received: from kryptos.mud.pl (201-moc-7.acn.waw.pl [212.76.58.201])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 612E043FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 20 Jun 2003 13:59:58 -0700 (PDT)
	(envelope-from wtp@mud.pl)
Received: from localhost (localhost [127.0.0.1])
	by kryptos.mud.pl (Postfix) with ESMTP
	id BADAC44B30; Fri, 20 Jun 2003 22:59:55 +0200 (CEST)
Received: by kryptos.mud.pl (Postfix, from userid 1000)
	id D539F44B2E; Fri, 20 Jun 2003 22:59:54 +0200 (CEST)
Message-Id: <20030620205954.D539F44B2E@kryptos.mud.pl>
Date: Fri, 20 Jun 2003 22:59:54 +0200 (CEST)
From: Krzysztof Stryjek <wtp@mud.pl>
Reply-To: Krzysztof Stryjek <wtp@mud.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: dotz@irc.pl
Subject: post-patch for port
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         53565
>Category:       ports
>Synopsis:       post-patch for port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 14:00:24 PDT 2003
>Closed-Date:    Mon Aug 04 05:57:59 PDT 2003
>Last-Modified:  Mon Aug 04 05:57:59 PDT 2003
>Originator:     Krzysztof Stryjek
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD kryptos.mud.pl 4.8-STABLE FreeBSD 4.8-STABLE #1: Thu Apr 24 11:48:42 CEST 2003 toor@kryptos.mud.pl:/usr/obj/usr/src/sys/POOH i386


>Description:
	Add post-patch so package will be consistent with hier(7).
	Corected also shell from Linux /bin/bash to /bin/sh
	maintener-update to Krzysztof Stryjek <wtpooh@acn.waw.pl>

>How-To-Repeat:
	none
>Fix:

--- mk.diff begins here ---
--- Makefile	Sun May 11 05:40:35 2003
+++ /tmp/pl-sms/Makefile	Fri Jun 20 22:51:15 2003
@@ -18,10 +18,18 @@
 
 WRKSRC=	${WRKDIR}/sms
 USE_GMAKE=	yes
+USE_REINPLACE=	yes
 MAKE_ARGS=	CXX="${CXX}"
 .if defined(NOPORTDOCS)
 MAKE_ARGS+=	NOPORTDOCS=1
 .endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's,/etc/smsrc,${PREFIX}/etc/smsrc,' \
+		${WRKSRC}/sms.h \
+		${WRKSRC}/README.smsrc
+	@${REINPLACE_CMD} -e 's,bash,sh,' \
+		${WRKSRC}/contrib/sms-conf
 
 post-install:
 	     ${STRIP_CMD} ${PREFIX}/bin/sms
--- mk.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Fri Aug 1 06:06:51 PDT 2003 
State-Changed-Why:  
After your patch the port installs additional .bak files.  

http://www.freebsd.org/cgi/query-pr.cgi?pr=53565 
State-Changed-From-To: feedback->closed 
State-Changed-By: arved 
State-Changed-When: Mon Aug 4 05:57:49 PDT 2003 
State-Changed-Why:  
committed, thanks 

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