ports/139463: [PATCH] audio/mpdas: fix build with custom PREFIX

Sahil Tandon sahil at tandon.net
Sat Oct 10 01:10:07 UTC 2009


>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:



More information about the freebsd-ports-bugs mailing list