diff options
author | obraun <obraun@FreeBSD.org> | 2003-06-11 03:56:27 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2003-06-11 03:56:27 +0800 |
commit | acd1c90a2ffef7c0d51486cd79b7d999cde61a5b (patch) | |
tree | 31571908198a858334bbe5564e106407553ff6e3 /graphics/hs-HOpenGL | |
parent | 3e9f33e70d1bb424398ff073e901ab18ba7b9609 (diff) | |
download | freebsd-ports-gnome-acd1c90a2ffef7c0d51486cd79b7d999cde61a5b.tar.gz freebsd-ports-gnome-acd1c90a2ffef7c0d51486cd79b7d999cde61a5b.tar.zst freebsd-ports-gnome-acd1c90a2ffef7c0d51486cd79b7d999cde61a5b.zip |
Remove ghc's package.conf.old.
Approved by: maintainer
Diffstat (limited to 'graphics/hs-HOpenGL')
-rw-r--r-- | graphics/hs-HOpenGL/Makefile | 3 | ||||
-rw-r--r-- | graphics/hs-HOpenGL/pkg-plist | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/graphics/hs-HOpenGL/Makefile b/graphics/hs-HOpenGL/Makefile index fd23562ed6e4..88ce88a268c1 100644 --- a/graphics/hs-HOpenGL/Makefile +++ b/graphics/hs-HOpenGL/Makefile @@ -40,6 +40,7 @@ pre-configure: 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+= GHC_VERSION="${GHC_VERSION}" ALL_TARGET= depend all @@ -93,4 +94,6 @@ post-install: ${INSTALL_DATA} ${GFXSRC}/UI/GLUT/*.hi ${GFXDIR}/UI/GLUT ${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> diff --git a/graphics/hs-HOpenGL/pkg-plist b/graphics/hs-HOpenGL/pkg-plist index 54354561a60d..12b1ae1935b9 100644 --- a/graphics/hs-HOpenGL/pkg-plist +++ b/graphics/hs-HOpenGL/pkg-plist @@ -374,4 +374,6 @@ share/examples/HOpenGL/redbook_HS/Wrap.hs share/examples/HOpenGL/00Contents @dirrm share/examples/HOpenGL @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 /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old |