pkgsrc-Users archive

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

a request patch for mplayer Solaris10 amd64 gcc



--- Makefile.orig       Thu Oct 19 15:27:23 2006
+++ Makefile    Thu Oct 26 12:00:18 2006
@@ -11,6 +11,10 @@
 CONFIGURE_ARGS+=       --disable-mencoder
 CONFIGURE_ARGS+=       --confdir=${PREFIX}/share/mplayer
 
+.if ( ${OPSYS} == "SunOS" && ${ABI} == "64" &&  ${MACHINE_ARCH} == "i386" ) || 
( ${MACHINE_ARCH} == "x86_64" && ${OPSYS} == "SunOS" )
+CONFIGURE_ARGS+=       --target=amd64-SunOS
+.endif
+
 # Solaris/x86 has Xv, but the header files live in /usr/X11R6, not
 # ${X11_BASE}, so we need to also look for headers in this path.
 .if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
@@ -17,7 +21,12 @@
 CPPFLAGS+=                     -I/usr/X11R6/include
 BUILDLINK_PASSTHRU_DIRS+=      /usr/X11R6/include
 .endif
+.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "x86_64"
+CPPFLAGS+=                     -I/usr/X11R6/include
+BUILDLINK_PASSTHRU_DIRS+=      /usr/X11R6/include
+.endif
 
+
 INSTALLATION_DIRS+=    bin
 
 .include "../../fonts/fontconfig/buildlink3.mk"




Home | Main Index | Thread Index | Old Index