Remove ghc's package.conf.old.
Approved by: maintainer
This commit is contained in:
parent
be25956743
commit
64f0cabd72
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82711
2 changed files with 5 additions and 0 deletions
|
@ -40,6 +40,7 @@ pre-configure:
|
||||||
|
|
||||||
CONFIGURE_ARGS+=--with-library-dir=${LIB_DIR} --with-import-dir=${IMPORT_DIR} --enable-Mesa
|
CONFIGURE_ARGS+=--with-library-dir=${LIB_DIR} --with-import-dir=${IMPORT_DIR} --enable-Mesa
|
||||||
PLIST_SUB= LIB_DIR=${LIB_DIR_REL} IMPORT_DIR=${IMPORT_DIR_REL}
|
PLIST_SUB= LIB_DIR=${LIB_DIR_REL} IMPORT_DIR=${IMPORT_DIR_REL}
|
||||||
|
PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
|
||||||
|
|
||||||
ALL_TARGET= depend all
|
ALL_TARGET= depend all
|
||||||
|
|
||||||
|
@ -93,4 +94,6 @@ post-install:
|
||||||
${INSTALL_DATA} ${GFXSRC}/UI/GLUT/*.hi ${GFXDIR}/UI/GLUT
|
${INSTALL_DATA} ${GFXSRC}/UI/GLUT/*.hi ${GFXDIR}/UI/GLUT
|
||||||
${INSTALL_DATA} ${GFXSRC}/UI/GLUT/Callbacks/*.hi ${GFXDIR}/UI/GLUT/Callbacks
|
${INSTALL_DATA} ${GFXSRC}/UI/GLUT/Callbacks/*.hi ${GFXDIR}/UI/GLUT/Callbacks
|
||||||
|
|
||||||
|
@${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -374,4 +374,6 @@ share/examples/HOpenGL/redbook_HS/Wrap.hs
|
||||||
share/examples/HOpenGL/00Contents
|
share/examples/HOpenGL/00Contents
|
||||||
@dirrm share/examples/HOpenGL
|
@dirrm share/examples/HOpenGL
|
||||||
@exec %D/bin/ghc-pkg -ai %D/share/HOpenGL/HOpenGL.conf
|
@exec %D/bin/ghc-pkg -ai %D/share/HOpenGL/HOpenGL.conf
|
||||||
|
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||||
@unexec %D/bin/ghc-pkg -r HOpenGL
|
@unexec %D/bin/ghc-pkg -r HOpenGL
|
||||||
|
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
||||||
|
|
Loading…
Reference in a new issue