diff options
author | Johan van Selst <johans@FreeBSD.org> | 2012-06-16 14:51:46 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2012-06-16 14:51:46 +0000 |
commit | 50245660e6ec5084dab67cc17da3ff06d8811134 (patch) | |
tree | 37888d653ed19c6bec38e78415e05d94c029121f /devel/m4 | |
parent | 0484c2a45e7329d63bfc11ec19f60b760f64d531 (diff) | |
download | ports-50245660e6ec5084dab67cc17da3ff06d8811134.tar.gz ports-50245660e6ec5084dab67cc17da3ff06d8811134.zip |
Notes
Diffstat (limited to 'devel/m4')
-rw-r--r-- | devel/m4/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile index 2bb9e263834d..fe3b44a2b612 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -20,28 +20,26 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" -.if defined(WITH_CHANGEWORD) -CONFIGURE_ARGS+= --enable-changeword -.endif - INFO= m4 MAN1= gm4.1 EXAMPLESDIR= share/examples/gm4 -OPTIONS= LIBSIGSEGV "Use libsigsegv for better diagnostics" Off +OPTIONS_DEFINE= LIBSIGSEGV +OPTIONS_DEFAULT= LIBSIGSEGV +LIBSIGSEGV_DESC= Use libsigsegv for better diagnostics post-install: @${MKDIR} ${PREFIX}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR} -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_LIBSIGSEGV) -LIB_DEPENDS+= sigsegv:${PORTSDIR}/devel/libsigsegv +.if ${PORT_OPTIONS:MLIBSIGSEGV} +LIB_DEPENDS+= sigsegv:${PORTSDIR}/devel/libsigsegv CONFIGURE_ARGS+= --with-libsigsegv-prefix=${LOCALBASE} .else CONFIGURE_ARGS+= --without-libsigsegv-prefix .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |