pkgsrc-Bugs archive

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

pkg/47321: pkgsrc/multimedia/libvpx could use smarter solaris gcc options



>Number:         47321
>Category:       pkg
>Synopsis:       pkgsrc/multimedia/libvpx could use smarter solaris gcc options
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 13 13:40:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzone 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
to get over some build problems and certainly to take advantage of a minimal 
set of multimedia extensions on solaris gcc platforms.
>How-To-Repeat:

>Fix:
richard@devzone:~/src/pkgsrc/multimedia/libvpx$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/libvpx/Makefile,v
retrieving revision 1.18
diff -u -p -r1.18 Makefile
--- Makefile    8 Nov 2012 00:07:02 -0000       1.18
+++ Makefile    13 Dec 2012 13:35:07 -0000
@@ -63,6 +63,12 @@ CONFIGURE_ARGS+=     --target=x86_64-darwin9
 CONFIGURE_ARGS+=       --target=x86_64-darwin8-gcc
 .    endif
 .  endif
+.elif ${OPSYS} == "SunOS" && ${PKGSRC_COMPILER} == "gcc"
+.  if ${MACHINE_ARCH} == "x86_64" 
+CONFIGURE_ARGS+=       --target=x86_64-solaris-gcc
+.  elif ${MACHINE_ARCH= =="i386"
+CONFIGURE_ARGS+=        --target=x86-solaris-gcc
+.  endif
 .endif
 
 BUILD_TARGET=  # none



Home | Main Index | Thread Index | Old Index