Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 20:03:21 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r365032 - in head/multimedia: py-gstreamer py-gstreamer1 py3-gstreamer1
Message-ID:  <201408152003.s7FK3Lsa058958@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Fri Aug 15 20:03:21 2014
New Revision: 365032
URL: http://svnweb.freebsd.org/changeset/ports/365032
QAT: https://qat.redports.org/buildarchive/r365032/

Log:
  Add missing /libs in LDFLAGS, this should fix the build in some cases.
  
  While here, remove PTHREAD_* from CPPFLAGS and LDFLAGS.
  
  PR:		192432
  Submitted by:	sascha@root-login.org (PR), troyax@pholos.eu (fix)

Modified:
  head/multimedia/py-gstreamer/Makefile
  head/multimedia/py-gstreamer1/Makefile
  head/multimedia/py3-gstreamer1/Makefile

Modified: head/multimedia/py-gstreamer/Makefile
==============================================================================
--- head/multimedia/py-gstreamer/Makefile	Fri Aug 15 19:51:51 2014	(r365031)
+++ head/multimedia/py-gstreamer/Makefile	Fri Aug 15 20:03:21 2014	(r365032)
@@ -27,7 +27,7 @@ GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 PLIST_SUB=	VERSION="${GST_VERSION}"
 CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}
+LDFLAGS+=	-L${LOCALBASE}/lib
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py

Modified: head/multimedia/py-gstreamer1/Makefile
==============================================================================
--- head/multimedia/py-gstreamer1/Makefile	Fri Aug 15 19:51:51 2014	(r365031)
+++ head/multimedia/py-gstreamer1/Makefile	Fri Aug 15 20:03:21 2014	(r365032)
@@ -21,8 +21,8 @@ USE_GNOME=	pygobject3
 USE_GSTREAMER1=	yes
 GNU_CONFIGURE=	yes
 PLIST_SUB=	VERSION="${GST_VERSION}"
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE} ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 
 post-install:

Modified: head/multimedia/py3-gstreamer1/Makefile
==============================================================================
--- head/multimedia/py3-gstreamer1/Makefile	Fri Aug 15 19:51:51 2014	(r365031)
+++ head/multimedia/py3-gstreamer1/Makefile	Fri Aug 15 20:03:21 2014	(r365032)
@@ -21,8 +21,8 @@ USE_GNOME=	py3gobject3
 USE_GSTREAMER1=	yes
 GNU_CONFIGURE=	yes
 PLIST_SUB=	VERSION="${GST_VERSION}"
-CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
-LDFLAGS+=	-L${LOCALBASE} ${PTHREAD_LIBS}
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 INSTALL_TARGET=	install-strip
 
 PLIST_SUB+=	PVERSION=${PYTHON_VER:S/.//}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408152003.s7FK3Lsa058958>