diff options
author | tron <tron@pkgsrc.org> | 2002-03-14 20:44:21 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2002-03-14 20:44:21 +0000 |
commit | b866a203ba1e1cdb24041e07bba92568bb0b43b1 (patch) | |
tree | 559a87968af7aa54d444152232c0fe0b734291d6 /lang | |
parent | f9fd57af04a23922e3d916f050015607f0967a57 (diff) | |
download | pkgsrc-b866a203ba1e1cdb24041e07bba92568bb0b43b1.tar.gz |
Remove empty directory "v9" after installation to avoid deinstallation
problems.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index 190072d1c63..3bb7cfe9f0e 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.36 2002/03/14 16:21:57 wiz Exp $ +# $NetBSD: Makefile,v 1.37 2002/03/14 20:44:21 tron Exp $ # Make sure that the version number in "Makefile.gcc" matches this. DISTNAME= gcc-2.95.3 @@ -79,11 +79,12 @@ post-install: ${LN} -s gcc ${PREFIX}/${PKGNAME}/bin/cc ${INSTALL_DATA} ${WRKDIR}/gcc.mk ${PREFIX}/etc/${PKGNAME}.mk .else -# remove empy file and directory that show up when one +# remove empy file and directories that show up when one # does make install; make deinstall; make install post-install: - ${RM} -f ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/fixed - -${RMDIR} ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/v7 + -cd ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include && \ + ${RM} -f fixed && \ + ${RMDIR} v7 v9 .endif .include "../../mk/texinfo.mk" |