mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
py-spice-gtk: Fix plist and unmark BROKEN.
The attached patch removes the static library version of SpiceClientGtk.a from the port's plist. After 0.26, the spice-gtk disables static builds by default. I tried passing --enable-static, but the build fails: gmake[3]: Entering directory '/wrkdirs/usr/ports/deskutils/py-spice-gtk/work/spice-gtk-0.30/tests' CC coroutine.o CC util.o CC session.o CCLD coroutine CCLD session CCLD util /usr/bin/ld: undefined reference to symbol `hypot@@FBSD_1.0' (try adding -lm) //lib/libm.so.5: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:719: recipe for target 'session' failed PR: 205442 Approved by: maintainer timeout (15 days)
This commit is contained in:
parent
12f3f605a3
commit
f97806f961
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405100
@ -6,6 +6,5 @@ MASTERDIR= ${.CURDIR}/../spice-gtk
|
||||
|
||||
CONFLICTS= spice-gtk-[0-9]*
|
||||
SPICE_SLAVE= yes
|
||||
BROKEN= fails to package
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
@ -20,13 +20,13 @@ BUILD_DEPENDS= spice-protocol>=0.12.10:${PORTSDIR}/devel/spice-protocol \
|
||||
${PYTHON_PKGNAMEPREFIX}pyparsing>=2.0.1:${PORTSDIR}/devel/py-pyparsing
|
||||
|
||||
.if defined(SPICE_SLAVE)
|
||||
PORTREVISION= 1
|
||||
CATEGORIES+= python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk2>=0:${PORTSDIR}/x11-toolkits/py-gtk2
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gtk2>=0:${PORTSDIR}/x11-toolkits/py-gtk2
|
||||
CONFIGURE_ARGS+= --with-python
|
||||
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/SpiceClientGtk.a \
|
||||
%%PYTHON_SITELIBDIR%%/SpiceClientGtk.so
|
||||
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/SpiceClientGtk.so
|
||||
USES+= python
|
||||
.endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user