aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2009-02-26 19:08:52 +0000
committerJohan van Selst <johans@FreeBSD.org>2009-02-26 19:08:52 +0000
commit3c62432082dd0fb23af2b1963e72be62e10cb5d8 (patch)
treecfbc4a8ee949e1e5e7c5b50751f27bd5836a5009
parent65bbe0ba78cd96b2b037794ad63889245a6db27d (diff)
downloadports-3c62432082dd0fb23af2b1963e72be62e10cb5d8.tar.gz
ports-3c62432082dd0fb23af2b1963e72be62e10cb5d8.zip
Notes
-rw-r--r--devel/m4/Makefile17
-rw-r--r--devel/m4/distinfo6
-rw-r--r--devel/m4/pkg-plist1
3 files changed, 18 insertions, 6 deletions
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index d3fbc4a618d0..36a07e3e016d 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= m4
-PORTVERSION= 1.4.11
+PORTVERSION= 1.4.12
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= m4
-MAINTAINER= ade@FreeBSD.org
+MAINTAINER= johans@stack.nl
COMMENT= GNU m4
USE_BZIP2= yes
@@ -29,8 +29,19 @@ MAN1= gm4.1
EXAMPLESDIR= share/examples/gm4
+OPTIONS= LIBSIGSEGV "Use libsigsegv for better diagnostics" Off
+
post-install:
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LIBSIGSEGV)
+LIB_DEPENDS+= sigsegv:${PORTSDIR}/devel/libsigsegv
+CONFIGURE_ARGS+= --with-libsigsegv-prefix=${LOCALBASE}
+.else
+CONFIGURE_ARGS+= --without-libsigsegv-prefix
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/m4/distinfo b/devel/m4/distinfo
index c725e78b9092..ff927b4d9e44 100644
--- a/devel/m4/distinfo
+++ b/devel/m4/distinfo
@@ -1,3 +1,3 @@
-MD5 (m4-1.4.11.tar.bz2) = 96ec473c2a6f203976c028e896a01b28
-SHA256 (m4-1.4.11.tar.bz2) = 0b7c686525b3f4236670f9329387d2a59e807b6a83d2b5cb9bbeb7d6ab9f8aad
-SIZE (m4-1.4.11.tar.bz2) = 928910
+MD5 (m4-1.4.12.tar.bz2) = b3587c993523dd320c318ec456876839
+SHA256 (m4-1.4.12.tar.bz2) = 855217de304616931844f54bd00a1e03e92452f85de6caeec47b0e8244881ba3
+SIZE (m4-1.4.12.tar.bz2) = 900132
diff --git a/devel/m4/pkg-plist b/devel/m4/pkg-plist
index 9f2d9ee9ac17..9927525417f9 100644
--- a/devel/m4/pkg-plist
+++ b/devel/m4/pkg-plist
@@ -12,6 +12,7 @@ bin/gm4
%%EXAMPLESDIR%%/foreachq.m4
%%EXAMPLESDIR%%/foreachq2.m4
%%EXAMPLESDIR%%/foreachq3.m4
+%%EXAMPLESDIR%%/foreachq4.m4
%%EXAMPLESDIR%%/forloop.m4
%%EXAMPLESDIR%%/forloop2.m4
%%EXAMPLESDIR%%/fstab.m4