Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 2009 01:01:40 GMT
From:      Sahil Tandon <sahil@tandon.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139463: [PATCH] audio/mpdas: fix build with custom PREFIX
Message-ID:  <200910100101.n9A11eTa041621@www.freebsd.org>
Resent-Message-ID: <200910100110.n9A1A1su005543@freefall.freebsd.org>

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

>Number:         139463
>Category:       ports
>Synopsis:       [PATCH] audio/mpdas: fix build with custom PREFIX
>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:   Sat Oct 10 01:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sahil Tandon
>Release:        7.2-RELEASE
>Organization:
>Environment:
>Description:
- Fix build with custom PREFIX.
- Reported by QATty: http://qatty.tecnik93.com//errors/7-STABLE-FPT-CustDir/mpdas-0.2.4_2.log
>How-To-Repeat:

>Fix:
Apply diff.

Patch attached with submission follows:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/audio/mpdas/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- Makefile	25 Sep 2009 17:59:00 -0000	1.6
+++ Makefile	10 Oct 2009 00:58:34 -0000
@@ -25,4 +25,8 @@
 MAN1=		mpdas.1
 MANCOMPRESSED=	no
 
+post-patch:
+	@${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' \
+		${WRKSRC}/Makefile
+
 .include <bsd.port.mk>


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



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