diff options
author | pav <pav@FreeBSD.org> | 2004-02-03 06:34:28 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-03 06:34:28 +0800 |
commit | e06eebd43236422d54ed283937e0a91aaa538ead (patch) | |
tree | 595e7213affdbdda5d137c13f8f254e09493ad8d /textproc | |
parent | 701f45b521a84824b1476c58da606ebdf2c95712 (diff) | |
download | freebsd-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/Makefile | 3 | ||||
-rw-r--r-- | textproc/rotix/files/patch-configure | 9 | ||||
-rw-r--r-- | textproc/rotix/pkg-plist | 2 |
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 |