ports/135528: Fix audio/exaile-devel regression when installing with custom PREFIX

Joseph S. Atkinson jsa at wickedmachine.net
Sat Jun 13 03:50:03 UTC 2009


>Number:         135528
>Category:       ports
>Synopsis:       Fix audio/exaile-devel regression when installing with custom PREFIX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 13 03:50:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
Poor 
>Environment:


System: FreeBSD 8.0-CURRENT #0 r194047: Fri Jun 12 04:13:43 EDT 2009
    jsa at shaitan.wickedmachine.net:/usr/obj/usr/src/sys/SHAITAN



>Description:





>How-To-Repeat:





>Fix:


--- exaile-devel_regress.diff begins here ---
diff -u audio/exaile-devel/Makefile.orig auido/exaile-devel/Makefile
--- audio/exaile-devel/Makefile.orig	2009-06-12 04:26:42.000000000 -0400
+++ audio/exaile-devel/Makefile	2009-06-12 23:22:28.472815120 -0400
@@ -68,8 +68,8 @@
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|LIBDIR|LIBINSTALLDIR|g' \
-		${WRKSRC}/Makefile
+	@${REINPLACE_CMD} -e 's|PREFIX =|PREFIX \?=|;s|LIBDIR =|LIBDIR \?=|' \
+		-e 's|LIBDIR|LIBINSTALLDIR|g' ${WRKSRC}/Makefile
 .if defined(WITHOUT_NLS)
 	@${REINPLACE_CMD} -e 's|exaile\.mo|SKIP_NLS_HACK|' ${WRKSRC}/Makefile
 .endif
--- exaile-devel_regress.diff ends here ---



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



More information about the freebsd-ports-bugs mailing list