FreeBSD Bugzilla – Attachment 118273 Details for
Bug 160492
[patch] lang/ocaml: respect CC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-Makefile
patch-Makefile (text/plain), 1.23 KB, created by
Michaël Grünewald
on 2012-02-06 22:43:06 UTC
(
hide
)
Description:
patch-Makefile
Filename:
MIME Type:
Creator:
Michaël Grünewald
Created:
2012-02-06 22:43:06 UTC
Size:
1.23 KB
patch
obsolete
>--- lang/ocaml/Makefile.orig 2012-02-06 22:49:46.000000000 +0100 >+++ lang/ocaml/Makefile 2012-02-06 23:09:25.000000000 +0100 >@@ -7,6 +7,7 @@ > > PORTNAME= ocaml > PORTVERSION= 3.12.1 >+PORTREVISION= 1 > CATEGORIES= lang > MASTER_SITES= http://caml.inria.fr/distrib/${DISTNAME:R}/ \ > ftp://ftp.inria.fr/INRIA/caml-light/${DISTNAME:R}/ \ >@@ -26,7 +27,7 @@ > STRIP= > MAKE_JOBS_UNSAFE= yes > >-CONFIGURE_ARGS= -prefix ${PREFIX} >+CONFIGURE_ARGS= -prefix '${PREFIX}' -cc '${CC}' -as '${AS}' -aspp '${CC} -c' > OPTIONS= X11 "Build with X11 support" on \ > TK "Build LablTk library (requires X11 support)" on \ > THREADS "Build with Posix threads support" on \ >@@ -99,13 +100,18 @@ > ${MV} ${WRKSRC}/asmrun/power-elf.S ${WRKSRC}/asmrun/power-bsd.S > .endif > >+post-patch: >+# don't hardcode gcc for depend target >+ @${REINPLACE_CMD} -e 's|gcc|$$(CC)|' \ >+ ${WRKSRC}/*/Makefile \ >+ ${WRKSRC}/*/*/Makefile >+ > post-configure: > # CFLAGS safeness > @${REINPLACE_CMD} -E \ > -e 's|(BYTECCCOMPOPTS[ \t]*=.*)|\1 ${CFLAGS} ${THR_CPP}|' \ > -e 's|(NATIVECCCOMPOPTS[ \t]*=.*)|\1 ${CFLAGS} ${THR_CPP}|' \ > -e '/^PTHREAD_LINK/s,-pthread,${THR_LD},g' \ >- -e 's|gcc|${CC}|g' \ > ${WRKSRC}/config/Makefile > > # INSTALL* safeness (which preserves the correct permissions despite
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 160492
:
118272
| 118273 |
118274