[Midnightbsd-cvs] mports: Makefile: There are two related issues with this port.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Wed Oct 17 09:49:15 EDT 2007


Log Message:
-----------
There are two related issues with this port.  First, the mtree file is not placed in the fake-inst-i386 directory on amd64 platforms, but the linux files are.  
Therefore this port is a special case for the fake directory.  For now, I've created a hack that does a ${WRKSRC}../fake-inst-i386 which should work on both platforms.  We should probably generalize this hack or perhaps ctriv@ knows a solution.

Second, the MPORT Maintainer script will always fail checking fake.  It can't find the mtree file in either fake directory on amd64.  However, I've verified the file is there and is installed properly (now).  

I bumped the port revision to help out amd64 users like myself.

Modified Files:
--------------
    mports/emulators/linux_base-fc4:
        Makefile (r1.8 -> r1.9)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/emulators/linux_base-fc4/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -Lemulators/linux_base-fc4/Makefile -Lemulators/linux_base-fc4/Makefile -u -r1.8 -r1.9
--- emulators/linux_base-fc4/Makefile
+++ emulators/linux_base-fc4/Makefile
@@ -9,7 +9,7 @@
 
 PORTNAME=		fc
 PORTVERSION=		4
-PORTREVISION=		9
+PORTREVISION=		10
 CATEGORIES=		emulators linux
 MASTER_SITES=		${MASTER_SITE_FEDORA_LINUX}
 MASTER_SITE_SUBDIR=	${PORTVERSION}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \
@@ -226,8 +226,8 @@
 
 
 post-install:
-	${MKDIR} ${FAKE_DESTDIR}${LOCALBASE}/etc/mtree
-	${INSTALL_DATA} ${FILESDIR}/bsd.linux-compat.mtree ${FAKE_DESTDIR}${LOCALBASE}/etc/mtree
+	${MKDIR} ${WRKSRC}/../fake-inst-i386${LOCALBASE}/etc/mtree
+	${INSTALL_DATA} ${FILESDIR}/bsd.linux-compat.mtree ${WRKSRC}/../fake-inst-i386${LOCALBASE}/etc/mtree
 
 
 


More information about the Midnightbsd-cvs mailing list