diff --git a/lang/guile2/Makefile b/lang/guile2/Makefile index a5b168ca3504..26ad02acf60c 100644 --- a/lang/guile2/Makefile +++ b/lang/guile2/Makefile @@ -48,15 +48,13 @@ REINPLACE_FILES= libguile/smob.c libguile/filesys.c libguile/gc.c \ INFO= guile r5rs -.include - post-patch: @cd ${WRKSRC} ; \ ${REINPLACE_CMD} -e 's|||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