Convert to options target helper
Approved by: portmgr (blanket)
This commit is contained in:
parent
8b00ad7ff1
commit
2d7bbd90ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=448414
1 changed files with 2 additions and 4 deletions
|
@ -48,15 +48,13 @@ REINPLACE_FILES= libguile/smob.c libguile/filesys.c libguile/gc.c \
|
|||
|
||||
INFO= guile r5rs
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-patch:
|
||||
@cd ${WRKSRC} ; \
|
||||
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
|
||||
@${REINPLACE_CMD} -e 's|sys/time.h sys/timeb.h|sys/time.h |g' \
|
||||
${WRKSRC}/configure
|
||||
.if ${PORT_OPTIONS:MTHREADS}
|
||||
|
||||
post-patch-THREADS-on:
|
||||
@${REINPLACE_CMD} -e 's|bdw-gc|bdw-gc-threaded|g' ${WRKSRC}/configure
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue