aboutsummaryrefslogtreecommitdiff
path: root/math/units
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-03 19:49:19 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-03 19:49:19 +0000
commit73dc7c7b6aa523ac1c5f6d4b364882ae93105e19 (patch)
treeb8f6aa092cdb267c217ba2005c4db636a6ecfa53 /math/units
parent2cea2c0c419b31b2c25c330f470406eded8a59c0 (diff)
downloadports-73dc7c7b6aa523ac1c5f6d4b364882ae93105e19.tar.gz
ports-73dc7c7b6aa523ac1c5f6d4b364882ae93105e19.zip
- 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)
Notes
Notes: svn path=/head/; revision=94852
Diffstat (limited to 'math/units')
-rw-r--r--math/units/Makefile2
-rw-r--r--math/units/files/patch-units.c15
-rw-r--r--math/units/pkg-plist3
3 files changed, 17 insertions, 3 deletions
diff --git a/math/units/Makefile b/math/units/Makefile
index ec12bf825c0e..0ffdb28986dd 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 000000000000..acbf5c3c3e2b
--- /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 2f3e758931ee..ee4b7487f159 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