aboutsummaryrefslogtreecommitdiffstats
path: root/misc/diction
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2005-04-25 02:09:43 +0800
committerarved <arved@FreeBSD.org>2005-04-25 02:09:43 +0800
commit44a3e9bb7ab00672410f24d64dcf57aeab8233d2 (patch)
tree72571fbef8b5ec1750802505fd6a9f0d76135d74 /misc/diction
parent9769305d85d73aadeb28993d003c938ec790a3f1 (diff)
downloadfreebsd-ports-gnome-44a3e9bb7ab00672410f24d64dcf57aeab8233d2.tar.gz
freebsd-ports-gnome-44a3e9bb7ab00672410f24d64dcf57aeab8233d2.tar.zst
freebsd-ports-gnome-44a3e9bb7ab00672410f24d64dcf57aeab8233d2.zip
Don't use autoconf213
Diffstat (limited to 'misc/diction')
-rw-r--r--misc/diction/Makefile6
-rw-r--r--misc/diction/files/patch-ab14
2 files changed, 5 insertions, 15 deletions
diff --git a/misc/diction/Makefile b/misc/diction/Makefile
index 8af96880d7a7..7a05c2762f35 100644
--- a/misc/diction/Makefile
+++ b/misc/diction/Makefile
@@ -15,7 +15,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU diction and style
-USE_AUTOCONF_VER= 213
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
PLIST_FILES= bin/diction bin/style share/diction/C share/diction/de \
share/diction/en
@@ -23,4 +24,7 @@ PLIST_DIRS= share/diction
MAN1= diction.1 style.1
+post-patch:
+ ${REINPLACE_CMD} -e "s,-pedantic,," ${WRKSRC}/configure
+
.include <bsd.port.mk>
diff --git a/misc/diction/files/patch-ab b/misc/diction/files/patch-ab
deleted file mode 100644
index 15a053d2fb9a..000000000000
--- a/misc/diction/files/patch-ab
+++ /dev/null
@@ -1,14 +0,0 @@
---- configure.in.orig Tue Aug 7 02:12:03 2001
-+++ configure.in Fri Aug 24 21:09:23 2001
-@@ -19,11 +19,6 @@
- fi
-
- AC_PROG_CC
--if test "$GCC" = yes
--then
-- CFLAGS="${CFLAGS} ${PIPE}-Wno-unused -Wshadow -Wbad-function-cast -Wmissing-prototypes -Wstrict-prototypes -Wcast-align -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common"
-- LDFLAGS='-g'
--fi
-
- AC_PROG_INSTALL
- AC_CHECK_FUNCS(strerror)