Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2017 12:30:20 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448414 - head/lang/guile2
Message-ID:  <201708201230.v7KCUKKn003144@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708201230.v7KCUKKn003144>