Remove ghc's package.conf.old.

Approved by:	maintainer
This commit is contained in:
Oliver Braun 2003-06-10 12:01:30 +00:00
parent a51bc0d165
commit 2cd9a40e0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82665
2 changed files with 3 additions and 0 deletions

View file

@ -44,5 +44,6 @@ post-install:
.endif .endif
@${SED} -e s,GHC_VERSION,${GHC_VERSION}, <${MASTERDIR}/pkg-install.in >${PKGINSTALL} @${SED} -e s,GHC_VERSION,${GHC_VERSION}, <${MASTERDIR}/pkg-install.in >${PKGINSTALL}
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} dummy POST-INSTALL PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} dummy POST-INSTALL
@${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -63,4 +63,6 @@ lib/ghc-%%GHC_VERSION%%/HSTclHaskell_cbits.o
@dirrm %%EXAMPLESDIR%%/images @dirrm %%EXAMPLESDIR%%/images
@dirrm %%EXAMPLESDIR%% @dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%%
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
@unexec ghc-pkg -r TclHaskell @unexec ghc-pkg -r TclHaskell
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old