diff options
author | pav <pav@FreeBSD.org> | 2003-12-03 19:49:19 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-12-03 19:49:19 +0000 |
commit | eac9a498a1cc916089bbc95cea49090f920acf84 (patch) | |
tree | d2f26bf1fbb39d413bddc23e2f1859c3985ebf72 /math | |
parent | d31fd067a532bb35bcd1ee698dfe41b2a25b0433 (diff) | |
download | FreeBSD-ports-eac9a498a1cc916089bbc95cea49090f920acf84.zip FreeBSD-ports-eac9a498a1cc916089bbc95cea49090f920acf84.tar.gz |
- Fix build with gcc 3.3
- Use INFO macro
PR: ports/59866
Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by: maintainer
Approved by: marcus (portmgr)
Diffstat (limited to 'math')
-rw-r--r-- | math/units/Makefile | 2 | ||||
-rw-r--r-- | math/units/files/patch-units.c | 15 | ||||
-rw-r--r-- | math/units/pkg-plist | 3 |
3 files changed, 17 insertions, 3 deletions
diff --git a/math/units/Makefile b/math/units/Makefile index ec12bf8..0ffdb28 100644 --- a/math/units/Makefile +++ b/math/units/Makefile @@ -16,6 +16,8 @@ COMMENT= Unit conversion and calculation GNU_CONFIGURE= yes CONFIGURE_ARGS= --program-prefix=g + +INFO= units MAN1= gunits.1 .include <bsd.port.mk> diff --git a/math/units/files/patch-units.c b/math/units/files/patch-units.c new file mode 100644 index 0000000..acbf5c3 --- /dev/null +++ b/math/units/files/patch-units.c @@ -0,0 +1,15 @@ +--- units.c.orig Mon Dec 1 11:09:41 2003 ++++ units.c Mon Dec 1 11:10:00 2003 +@@ -2358,9 +2358,9 @@ + + #if 0 + +- "sed 's/.*/& ft\" +- "m/' feet|units -q|sed 's/^[[:space:]]*\* //" +- "/^[[:space:]]*\//d'" ++// "sed 's/.*/& ft\" ++// "m/' feet|units -q|sed 's/^[[:space:]]*\* //" ++// "/^[[:space:]]*\//d'" + + #endif + diff --git a/math/units/pkg-plist b/math/units/pkg-plist index 2f3e7589..ee4b748 100644 --- a/math/units/pkg-plist +++ b/math/units/pkg-plist @@ -1,5 +1,2 @@ bin/gunits -@unexec install-info --delete %D/info/units.info %D/info/dir -info/units.info -@exec install-info %D/info/units.info %D/info/dir share/units.dat |