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)
This commit is contained in:
parent
4595ee5a71
commit
82a022574b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365032
3 changed files with 5 additions and 5 deletions
|
@ -27,7 +27,7 @@ GNU_CONFIGURE= yes
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
PLIST_SUB= VERSION="${GST_VERSION}"
|
PLIST_SUB= VERSION="${GST_VERSION}"
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE}
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py
|
@${REINPLACE_CMD} -e 's|DLFCN|dl|g' ${WRKSRC}/gst/__init__.py
|
||||||
|
|
|
@ -21,8 +21,8 @@ USE_GNOME= pygobject3
|
||||||
USE_GSTREAMER1= yes
|
USE_GSTREAMER1= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
PLIST_SUB= VERSION="${GST_VERSION}"
|
PLIST_SUB= VERSION="${GST_VERSION}"
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
|
@ -21,8 +21,8 @@ USE_GNOME= py3gobject3
|
||||||
USE_GSTREAMER1= yes
|
USE_GSTREAMER1= yes
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
PLIST_SUB= VERSION="${GST_VERSION}"
|
PLIST_SUB= VERSION="${GST_VERSION}"
|
||||||
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
CPPFLAGS+= -I${LOCALBASE}/include
|
||||||
LDFLAGS+= -L${LOCALBASE} ${PTHREAD_LIBS}
|
LDFLAGS+= -L${LOCALBASE}/lib
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
|
||||||
PLIST_SUB+= PVERSION=${PYTHON_VER:S/.//}
|
PLIST_SUB+= PVERSION=${PYTHON_VER:S/.//}
|
||||||
|
|
Loading…
Reference in a new issue