diff options
author | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-08 18:47:52 +0000 |
---|---|---|
committer | Marcus Alves Grando <mnag@FreeBSD.org> | 2005-11-08 18:47:52 +0000 |
commit | 9256e09d9be7a5ec2482854f73a9d853bb748a22 (patch) | |
tree | d3ed3bf636ec5e1b184d0448cd13f02b344317a0 /lang/sbcl/Makefile | |
parent | 88fbff9a4a1c038867bb8f596b2c986c71b1c4e0 (diff) |
Notes
Diffstat (limited to 'lang/sbcl/Makefile')
-rw-r--r-- | lang/sbcl/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/sbcl/Makefile b/lang/sbcl/Makefile index f7752a7dbef7..4e8bc08a030c 100644 --- a/lang/sbcl/Makefile +++ b/lang/sbcl/Makefile @@ -28,6 +28,7 @@ BUILD_DEPENDS= lisp:${PORTSDIR}/lang/cmucl LISP_CMD= "lisp -noinit -batch" .endif +USE_REINPLACE= yes USE_BZIP2= yes USE_GMAKE= yes @@ -51,7 +52,10 @@ BUILD_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar .endif post-patch: - @${FIND} ${WRKSRC} -name '*.orig' -delete + @${REINPLACE_CMD} -E -e \ + 's|CFLAGS = .*|CFLAGS = ${CFLAGS} -DSBCL_HOME=\\"${PREFIX}/lib/sbcl/\\"|' \ + ${WRKSRC}/src/runtime/GNUmakefile + @${FIND} ${WRKSRC} -name '*.orig' -o -name '*.bak' | ${XARGS} ${RM} do-build: (cd ${WRKSRC} && ${SETENV} INSTALL_ROOT=${PREFIX} \ |