pkgsrc-WIP-discuss archive

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

gcc43/buildlink3.mk



Hi,
It seems that gcc43/buildlink3.mk was copied from gcc42 (and TODO, btw)
but never modified. I replaced all "42" with "43" and "4.2" with "4.3"
to make it work. Can I commit this?
Thanks,
Alex

Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc-wip/wip/gcc43/buildlink3.mk,v
retrieving revision 1.1
diff -u -r1.1 buildlink3.mk
--- buildlink3.mk       15 Jan 2009 18:39:15 -0000      1.1
+++ buildlink3.mk       25 Jan 2009 23:00:30 -0000
@@ -1,42 +1,42 @@
 # $NetBSD: buildlink3.mk,v 1.15 2007/01/17 03:11:19 rillig Exp $
 
 BUILDLINK_DEPTH:=       ${BUILDLINK_DEPTH}+
-GCC42_BUILDLINK3_MK:=  ${GCC42_BUILDLINK3_MK}+
-BUILDLINK_PREFIX.gcc42:=${LOCALBASE}/gcc42
+GCC43_BUILDLINK3_MK:=  ${GCC43_BUILDLINK3_MK}+
+BUILDLINK_PREFIX.gcc43:=${LOCALBASE}/gcc43
 
 .if !empty(BUILDLINK_DEPTH:M+)
-BUILDLINK_DEPENDS+=     gcc42
+BUILDLINK_DEPENDS+=     gcc43
 .endif
 
-BUILDLINK_PACKAGES:=    ${BUILDLINK_PACKAGES:Ngcc42}
-BUILDLINK_PACKAGES+=    gcc42
-BUILDLINK_ORDER:=    ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc42
-
-.if !empty(GCC42_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.gcc42+=  gcc42>=${_GCC_REQD}
-BUILDLINK_ABI_DEPENDS.gcc42?=  gcc42>=4.2.0
-BUILDLINK_PKGSRCDIR.gcc42?=    ../../wip/gcc42
-.  if exists(${BUILDLINK_PREFIX.gcc42}/bin/gcc)
-_GNAT1!=${BUILDLINK_PREFIX.gcc42}/bin/gcc -print-prog-name=gnat1
+BUILDLINK_PACKAGES:=    ${BUILDLINK_PACKAGES:Ngcc43}
+BUILDLINK_PACKAGES+=    gcc43
+BUILDLINK_ORDER:=    ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gcc43
+
+.if !empty(GCC43_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.gcc43+=  gcc43>=${_GCC_REQD}
+BUILDLINK_ABI_DEPENDS.gcc43?=  gcc43>=4.3.0
+BUILDLINK_PKGSRCDIR.gcc43?=    ../../wip/gcc43
+.  if exists(${BUILDLINK_PREFIX.gcc43}/bin/gcc)
+_GNAT1!=${BUILDLINK_PREFIX.gcc43}/bin/gcc -print-prog-name=gnat1
 .    if exists(${_GNAT1})
-BUILDLINK_ENV+=        ADAC=${BUILDLINK_PREFIX.gcc42}/bin/gcc
+BUILDLINK_ENV+=        ADAC=${BUILDLINK_PREFIX.gcc43}/bin/gcc
 .    endif
-BUILDLINK_LIBDIRS.gcc42+=      lib
-_GCC_ARCHDIR!= ${DIRNAME} `${BUILDLINK_PREFIX.gcc42}/bin/gcc 
--print-libgcc-file-name`
+BUILDLINK_LIBDIRS.gcc43+=      lib
+_GCC_ARCHDIR!= ${DIRNAME} `${BUILDLINK_PREFIX.gcc43}/bin/gcc 
--print-libgcc-file-name`
 .    if empty(_GCC_ARCHDIR:M*not_found*)
-BUILDLINK_LIBDIRS.gcc42+=      
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc42}\///}/
+BUILDLINK_LIBDIRS.gcc43+=      
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc43}\///}/
 .      if exists(${_GNAT1})
-BUILDLINK_LIBDIRS.gcc42+=      
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc42}\///}/adalib
+BUILDLINK_LIBDIRS.gcc43+=      
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc43}\///}/adalib
 .      endif
-BUILDLINK_INCDIRS.gcc42+=      include 
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc42}\///}/include
+BUILDLINK_INCDIRS.gcc43+=      include 
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc43}\///}/include
 .    endif
 .  endif
-.endif  # GCC42_BUILDLINK3_MK
+.endif  # GCC43_BUILDLINK3_MK
 
-BUILDLINK_FILES_CMD.gcc42=     \
-       (cd  ${BUILDLINK_PREFIX.gcc42} &&       \
+BUILDLINK_FILES_CMD.gcc43=     \
+       (cd  ${BUILDLINK_PREFIX.gcc43} &&       \
        ${FIND} bin libexec lib \( -type f -o -type l \) -print)
-BUILDLINK_FNAME_TRANSFORM.gcc42=       -e s:\buildlink:buildlink/gcc42:
+BUILDLINK_FNAME_TRANSFORM.gcc43=       -e s:\buildlink:buildlink/gcc43:
 
 # Packages that link against shared libraries need a full dependency.
 .  if defined(_USE_GCC_SHLIB)
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss


Home | Main Index | Thread Index | Old Index