Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2004 00:46:01 +0200 (CEST)
From:      Palle Girgensohn <girgen@pingpong.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mad@madpilot.net
Subject:   ports/66183: [PATCH] comms/gnokii: build error
Message-ID:  <200405022246.i42Mk1gp034810@palle.girgensohn.se>
Resent-Message-ID: <200405022250.i42MoGSn009062@freefall.freebsd.org>

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

>Number:         66183
>Category:       ports
>Synopsis:       [PATCH] comms/gnokii: build error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 02 15:50:15 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Palle Girgensohn
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
Ping Pong AB
>Environment:
System: FreeBSD palle.girgensohn.se 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Tue Apr 13 03:50:54 CEST 2004
>Description:
For me, gnokii gives an error at the end of the build process, since
it cannot find pkg-message. Says something like "sed: pkg-message: No
such file or directory". This is fixed by adding a full path to the
pkg-message file, according to the patch below.

Port maintainer (mad@madpilot.net) is cc'd.

Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:

--- gnokii-0.6.1,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/comms/gnokii/Makefile,v
retrieving revision 1.38
diff -u -u -r1.38 Makefile
--- Makefile	21 Apr 2004 20:37:00 -0000	1.38
+++ Makefile	2 May 2004 22:42:05 -0000
@@ -119,7 +119,7 @@
 	@cd ${WRKSRC}/smsd && ${GMAKE} libpq.la LOCALBASE=${LOCALBASE}
 .endif
 .endif
-	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' pkg-message > ${PKGMESSAGE}
+	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message > ${PKGMESSAGE}
 
 pre-install:
 	@${SETENV} "PKG_PREFIX=${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
--- gnokii-0.6.1,1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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