ports/146773: [patch] lang/sbcl: /etc/sbclrc -> PREFIX/etc/sbclrc

Anonymous swell.k at gmail.com
Thu May 20 19:40:05 UTC 2010


>Number:         146773
>Category:       ports
>Synopsis:       [patch] lang/sbcl: /etc/sbclrc -> PREFIX/etc/sbclrc
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 20 19:40:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
>Description:
>How-To-Repeat:
$ echo '(print "blah")' >$PREFIX/etc/sbcrc
$ sbcl
>Fix:
--- a.diff begins here ---
Index: lang/sbcl/Makefile
===================================================================
RCS file: /a/.cvsup/ports/lang/sbcl/Makefile,v
retrieving revision 1.75
diff -u -p -r1.75 Makefile
--- lang/sbcl/Makefile	5 Jan 2010 01:29:46 -0000	1.75
+++ lang/sbcl/Makefile	20 May 2010 18:01:16 -0000
@@ -106,6 +106,8 @@ pre-everything::
 post-patch:
 	@${REINPLACE_CMD} -E -e 's|(CFLAGS =) .*|\1 ${CFLAGS}|' \
 		${WRKSRC}/src/runtime/GNUmakefile
+	@${FIND} ${WRKSRC} -type f -exec ${REINPLACE_CMD} -E -e \
+		's|/etc/sbclrc|${PREFIX}&|g' {} +
 	@${FIND} ${WRKSRC} -name '*.orig' -o -name '*.bak' -delete
 .if defined(WITH_THREADS)
 	@${CP} ${FILESDIR}/customize-target-features.lisp ${WRKSRC}
--- a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list