aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2003-06-10 20:01:30 +0800
committerobraun <obraun@FreeBSD.org>2003-06-10 20:01:30 +0800
commit5b05152669d9f44e4225106a33e23023f986c5c0 (patch)
tree6bd6c9630c3b0719e8a8d6bc77573e17f08be32b
parent549037988c56229c5429ab7787095e96b8770e4d (diff)
downloadfreebsd-ports-gnome-5b05152669d9f44e4225106a33e23023f986c5c0.tar.gz
freebsd-ports-gnome-5b05152669d9f44e4225106a33e23023f986c5c0.tar.zst
freebsd-ports-gnome-5b05152669d9f44e4225106a33e23023f986c5c0.zip
Remove ghc's package.conf.old.
Approved by: maintainer
-rw-r--r--devel/hs-tclhaskell-ghc/Makefile1
-rw-r--r--devel/hs-tclhaskell-ghc/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/devel/hs-tclhaskell-ghc/Makefile b/devel/hs-tclhaskell-ghc/Makefile
index fb306ce0a913..024cedd6fc7d 100644
--- a/devel/hs-tclhaskell-ghc/Makefile
+++ b/devel/hs-tclhaskell-ghc/Makefile
@@ -44,5 +44,6 @@ post-install:
.endif
@${SED} -e s,GHC_VERSION,${GHC_VERSION}, <${MASTERDIR}/pkg-install.in >${PKGINSTALL}
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} dummy POST-INSTALL
+ @${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
.include <bsd.port.mk>
diff --git a/devel/hs-tclhaskell-ghc/pkg-plist b/devel/hs-tclhaskell-ghc/pkg-plist
index cb9ea9167372..67de6b620da4 100644
--- a/devel/hs-tclhaskell-ghc/pkg-plist
+++ b/devel/hs-tclhaskell-ghc/pkg-plist
@@ -63,4 +63,6 @@ lib/ghc-%%GHC_VERSION%%/HSTclHaskell_cbits.o
@dirrm %%EXAMPLESDIR%%/images
@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
@unexec ghc-pkg -r TclHaskell
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old