[Midnightbsd-cvs] mports: lang/nwcc: The install script had to be modified so the compiler

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Tue Aug 21 15:58:05 EDT 2007


Log Message:
-----------
The install script had to be modified so the compiler would use LOCALBASE instead of the wrksrc directory.

Modified Files:
--------------
    mports/lang/nwcc:
        Makefile (r1.2 -> r1.3)

Added Files:
-----------
    mports/lang/nwcc/files:
        patch-install.sh (r1.1)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/lang/nwcc/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -Llang/nwcc/Makefile -Llang/nwcc/Makefile -u -r1.2 -r1.3
--- lang/nwcc/Makefile
+++ lang/nwcc/Makefile
@@ -7,6 +7,7 @@
 
 PORTNAME=	nwcc
 PORTVERSION=	0.7.3
+PORTREVISION=	1
 CATEGORIES=	lang
 DISTFILES=	nwcc_0.7.3.tar.gz
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@@ -20,7 +21,6 @@
 
 WRKSRC=		work/nwcc_0.7.3
 HAS_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--installprefix=${FAKE_DESTDIR}${PREFIX}
 ALL_TARGET=	nwcc
 
 .include <bsd.port.mk>
--- /dev/null
+++ lang/nwcc/files/patch-install.sh
@@ -0,0 +1,11 @@
+--- install.sh.orig	Tue Aug 21 15:51:41 2007
++++ install.sh	Tue Aug 21 15:52:41 2007
+@@ -1,6 +1,7 @@
+ #!/bin/sh
+ 
+-INSTALLDIR=`grep INSTALLDIR config.h | awk -F\" '{ print $2 }'`
++#INSTALLDIR=`grep INSTALLDIR config.h | awk -F\" '{ print $2 }'`
++INSTALLDIR=${FAKE_DESTDIR}/${PREFIX}
+ if test "$INSTALLDIR" = ""; then
+ 	INSTALLDIR="/usr/local"
+ fi


More information about the Midnightbsd-cvs mailing list