svn commit: r448414 - head/lang/guile2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Aug 20 12:30:21 UTC 2017


Author: sunpoet
Date: Sun Aug 20 12:30:20 2017
New Revision: 448414
URL: https://svnweb.freebsd.org/changeset/ports/448414

Log:
  Convert to options target helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/lang/guile2/Makefile

Modified: head/lang/guile2/Makefile
==============================================================================
--- head/lang/guile2/Makefile	Sun Aug 20 12:30:15 2017	(r448413)
+++ head/lang/guile2/Makefile	Sun Aug 20 12:30:20 2017	(r448414)
@@ -48,15 +48,13 @@ REINPLACE_FILES=	libguile/smob.c libguile/filesys.c li
 
 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>


More information about the svn-ports-all mailing list