summaryrefslogtreecommitdiffstats
path: root/devel/hs-hpl
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-09-15 15:37:33 +0000
committerobraun <obraun@FreeBSD.org>2002-09-15 15:37:33 +0000
commita3a3a6446223b7465913324f7efc77366e4e6cc3 (patch)
tree77d931005adabc8c47a191bcc3e5ded2b1675e22 /devel/hs-hpl
parent7092dad1b106bb8ca63f07ba4647c652ed35b601 (diff)
downloadFreeBSD-ports-a3a3a6446223b7465913324f7efc77366e4e6cc3.zip
FreeBSD-ports-a3a3a6446223b7465913324f7efc77366e4e6cc3.tar.gz
* Fix detection of ghc version.
=> Fix pkg-plist s/ghcunknown/ghc5/ * Bump PORTREVISION. Submitted by: Manuel M T Chakravarty <chak@cse.unsw.edu.au> (developer)
Diffstat (limited to 'devel/hs-hpl')
-rw-r--r--devel/hs-hpl/Makefile1
-rw-r--r--devel/hs-hpl/files/patch-configure11
-rw-r--r--devel/hs-hpl/pkg-plist18
3 files changed, 21 insertions, 9 deletions
diff --git a/devel/hs-hpl/Makefile b/devel/hs-hpl/Makefile
index 6bc24eb..617a301 100644
--- a/devel/hs-hpl/Makefile
+++ b/devel/hs-hpl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= hpl
PORTVERSION= 0.3.3
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/ports/
DISTNAME= ports-${PORTVERSION}
diff --git a/devel/hs-hpl/files/patch-configure b/devel/hs-hpl/files/patch-configure
new file mode 100644
index 0000000..6398fd5
--- /dev/null
+++ b/devel/hs-hpl/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun Sep 15 17:27:44 2002
++++ configure Sun Sep 15 17:28:09 2002
+@@ -1224,7 +1224,7 @@
+ else
+ ${GHC-ghc} --version > conftestghc 2>&1
+ cat conftestghc >&5
+- ports_cv_ghc_version=`cat conftestghc | sed -n -e 's/, patchlevel *\([0-9]\)/.\1/;s/.* version \([0-9.]\+\).*/\1/p'`
++ ports_cv_ghc_version=`cat conftestghc | sed -n -e 's/, patchlevel *\([0-9]\)/.\1/;s/.* version \([0-9.][0-9.]*\).*/\1/p'`
+ rm -fr conftest*
+ if test "$ports_cv_ghc_version" = ""
+ then
diff --git a/devel/hs-hpl/pkg-plist b/devel/hs-hpl/pkg-plist
index 2758f31..1fce6cf 100644
--- a/devel/hs-hpl/pkg-plist
+++ b/devel/hs-hpl/pkg-plist
@@ -1,11 +1,11 @@
bin/ports-config
-lib/ports-0.3.3/ghcunknown/import/HPL.hi
-lib/ports-0.3.3/ghcunknown/import/Ports.hi
-lib/ports-0.3.3/ghcunknown/import/PortsConfig.hi
-lib/ports-0.3.3/ghcunknown/import/PortsVersion.hi
-lib/ports-0.3.3/ghcunknown/import/Processes.hi
-lib/ports-0.3.3/ghcunknown/import/SVars.hi
-lib/ports-0.3.3/ghcunknown/libportsHS.a
-@dirrm lib/ports-0.3.3/ghcunknown/import
-@dirrm lib/ports-0.3.3/ghcunknown
+lib/ports-0.3.3/ghc5/import/HPL.hi
+lib/ports-0.3.3/ghc5/import/Ports.hi
+lib/ports-0.3.3/ghc5/import/PortsConfig.hi
+lib/ports-0.3.3/ghc5/import/PortsVersion.hi
+lib/ports-0.3.3/ghc5/import/Processes.hi
+lib/ports-0.3.3/ghc5/import/SVars.hi
+lib/ports-0.3.3/ghc5/libportsHS.a
+@dirrm lib/ports-0.3.3/ghc5/import
+@dirrm lib/ports-0.3.3/ghc5
@dirrm lib/ports-0.3.3
OpenPOWER on IntegriCloud