diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-06-09 21:42:20 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-06-09 21:42:20 +0000 |
commit | ccd57bc622512f37d4c7c9eb5795a66ffc646746 (patch) | |
tree | 1c7d1d9231272d4840650285937f6d19b1011520 /x11-toolkits/hs-gtk+hs/Makefile | |
parent | Update to 0.52. (diff) |
Remove ghc's package.conf.old.
Diffstat (limited to 'x11-toolkits/hs-gtk+hs/Makefile')
-rw-r--r-- | x11-toolkits/hs-gtk+hs/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-toolkits/hs-gtk+hs/Makefile b/x11-toolkits/hs-gtk+hs/Makefile index 77889ad6af24..1b84ae810c37 100644 --- a/x11-toolkits/hs-gtk+hs/Makefile +++ b/x11-toolkits/hs-gtk+hs/Makefile @@ -33,7 +33,8 @@ CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-add-package CONFIGURE_ARGS+= --with-ih .endif -PLIST_SUB+= PORTVERSION="${PORTVERSION}" +GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` +PLIST_SUB+= PORTVERSION="${PORTVERSION}" GHC_VERSION="${GHC_VERSION}" pre-everything:: .if !defined(WITHOUT_IHASKELL) @@ -43,5 +44,6 @@ pre-everything:: post-patch: @${REINPLACE_CMD} -e 's/gtk-config/gtk12-config/g ; \ s/glib-config/glib12-config/g' ${WRKSRC}/configure + @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old .include <bsd.port.mk> |