pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[PATCH] gcc3-objc-3.3.6 (Re: non-DESTDIR status: 68 to go



| Subject: non-DESTDIR status: 68 to go
| Date: Wed, 1 Jun 2011 08:38:02 +0200

wiz> gcc3-objc-3.3.6
Will be supported either.

Index: lang/gcc3-objc/Makefile
===================================================================
RCS file: /e/cvsync/cvsync/pkgsrc/lang/gcc3-objc/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- lang/gcc3-objc/Makefile     7 Dec 2006 11:24:28 -0000       1.15
+++ lang/gcc3-objc/Makefile     3 Jun 2011 02:34:31 -0000
@@ -2,8 +2,12 @@
 
 PKGNAME=       gcc3${GCC3_PKGMODIF}-objc-${GCC_VERSION}
 COMMENT=       GNU Compiler Collection, v3 - Objective C compiler
+PKGREVISION=   1
+
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 INSTLIBS=      libobjc/libobjc.la
+MAKE_ENV+=     DESTDIR=${DESTDIR}
 
 .include "../../lang/gcc3/language.mk"
 
@@ -14,8 +18,8 @@
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} all-target-libobjc
 
 do-install:
-       ${INSTALL_PROGRAM_DIR} ${GCC_ARCHDIR}
-       ${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1obj ${GCC_ARCHDIR}
+       ${INSTALL_PROGRAM_DIR} ${DESTDIR}${GCC_ARCHDIR}
+       ${INSTALL_PROGRAM} ${WRKSRC}/gcc/cc1obj ${DESTDIR}${GCC_ARCHDIR}
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} \
                install-target-libobjc
 


Home | Main Index | Thread Index | Old Index