aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-02-03 06:34:28 +0800
committerpav <pav@FreeBSD.org>2004-02-03 06:34:28 +0800
commite06eebd43236422d54ed283937e0a91aaa538ead (patch)
tree595e7213affdbdda5d137c13f8f254e09493ad8d /textproc
parent701f45b521a84824b1476c58da606ebdf2c95712 (diff)
downloadfreebsd-ports-gnome-e06eebd43236422d54ed283937e0a91aaa538ead.tar.gz
freebsd-ports-gnome-e06eebd43236422d54ed283937e0a91aaa538ead.tar.zst
freebsd-ports-gnome-e06eebd43236422d54ed283937e0a91aaa538ead.zip
- Fix build: 'expr -- --i18n=1' doesn't work on -STABLE.
Revert to 'expr --i18n=1' and set EXPR_COMPAT in CONFIGURE_ENV for -CURRENT. - Use PLIST_FILES PR: ports/62251 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/rotix/Makefile3
-rw-r--r--textproc/rotix/files/patch-configure9
-rw-r--r--textproc/rotix/pkg-plist2
3 files changed, 3 insertions, 11 deletions
diff --git a/textproc/rotix/Makefile b/textproc/rotix/Makefile
index 2bdf1408220f..fa3e3928aad2 100644
--- a/textproc/rotix/Makefile
+++ b/textproc/rotix/Makefile
@@ -21,9 +21,12 @@ USE_GMAKE= yes
HAS_CONFIGURE= yes
USE_REINPLACE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --mandir=${PREFIX}/man --i18n=1
+CONFIGURE_ENV= EXPR_COMPAT=1
MAN1= rotix.1
+PLIST_FILES= bin/rotix share/locale/nl/LC_MESSAGES/rotix.mo
+
post-patch:
@${REINPLACE_CMD} -e 's,%%CFLAGS%%,${CFLAGS},; s,%%LOCALBASE%%,${LOCALBASE},;' \
${WRKSRC}/Makefile
diff --git a/textproc/rotix/files/patch-configure b/textproc/rotix/files/patch-configure
index 1acf4dcb6ed3..cdea1169990a 100644
--- a/textproc/rotix/files/patch-configure
+++ b/textproc/rotix/files/patch-configure
@@ -1,14 +1,5 @@
--- configure.orig Sun Jan 27 13:00:06 2002
+++ configure Sun Oct 20 03:32:06 2002
-@@ -17,7 +17,7 @@
- arch=`uname -s`
-
- while [ -n "$1" ]; do
-- e="`expr "$1" : '--\(.*=.*\)'`"
-+ e="`expr -- "$1" : '--\(.*=.*\)'`"
- if [ -z "$e" ]; then
- cat<<EOF
- Rotix configure
@@ -83,9 +83,9 @@
fi
diff --git a/textproc/rotix/pkg-plist b/textproc/rotix/pkg-plist
deleted file mode 100644
index cd6e97ec7842..000000000000
--- a/textproc/rotix/pkg-plist
+++ /dev/null
@@ -1,2 +0,0 @@
-bin/rotix
-share/locale/nl/LC_MESSAGES/rotix.mo