pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/34782: xine-lib
The following reply was made to PR pkg/34782; it has been noted by GNATS.
From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
dauphin%enst.fr@localhost,
gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/34782: xine-lib
Date: Thu, 12 Oct 2006 15:58:08 +0200 (CEST)
>
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/34782: xine-lib
> Date: Thu, 12 Oct 2006 14:47:08 +0200
>
> On Wed, Oct 11, 2006 at 01:15:04PM +0000, Gilles Dauphin wrote:
> > --- Makefile.common.orig Tue Aug 8 12:13:19 2006
> > +++ Makefile.common Wed Oct 11 15:04:10 2006
> > @@ -23,6 +23,7 @@
> > LIBTOOL_OVERRIDE= libtool libtool-nofpic
> > PKGCONFIG_OVERRIDE= misc/libxine.pc.in
> > USE_TOOLS+= autoconf gmake msgfmt pkg-config
> > +USE_LANGUAGES+= c++
>
> Just using C++ because the package wants to compile test cases with it
> sounds extremely lame. What about patching/substing it away?
>
> > WRKSRC= ${WRKDIR}/xine-lib-1.1.2
> >
> > CONFIGURE_ARGS+= --with-w32-path='${PREFIX}/lib/win32'
Final patch for xine-lib, compile and install on Solaris10 amd gcc:
--- Makefile.common.orig Tue Aug 8 12:13:19 2006
+++ Makefile.common Thu Oct 12 15:52:06 2006
@@ -23,6 +23,7 @@
LIBTOOL_OVERRIDE= libtool libtool-nofpic
PKGCONFIG_OVERRIDE= misc/libxine.pc.in
USE_TOOLS+= autoconf gmake msgfmt pkg-config
+USE_LANGUAGES+= c++
WRKSRC= ${WRKDIR}/xine-lib-1.1.2
CONFIGURE_ARGS+= --with-w32-path='${PREFIX}/lib/win32'
@@ -35,7 +36,17 @@
.include "../../mk/bsd.prefs.mk"
.if !exists(${X11BASE}/lib/libXv.so)
+. if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.10"
+BUILDLINK_PASSTHRU_DIRS+= /usr/X11/lib/${ABI}
+BUILDLINK_PASSTHRU_DIRS+= /usr/X11/include
+BUILDLINK_PASSTHRU_RPATHDIRS+= /usr/X11/lib/${ABI}
+CFLAGS+= -I/usr/X11/include
+LDFLAGS+= -L/usr/X11/lib/${ABI} -R/usr/X11/lib/${ABI}
+CONFIGURE_ARGS+= --with-xv-path='/usr/X11/lib/${ABI}'
+PLIST_SUBST+= HAVE_XV=
+. else
PLIST_SUBST+= HAVE_XV="@comment "
+. endif
.else
CONFIGURE_ARGS+= --with-xv-path='${X11BASE}/lib'
PLIST_SUBST+= HAVE_XV=
Home |
Main Index |
Thread Index |
Old Index