mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
devel/libsigrokdecode: fix build with python3.9+
- Fix python detection and allow build with python3.9+ - Fix license, add LICENSE_FILE Approved by: portmgr blanket
This commit is contained in:
parent
b98f948045
commit
99f34a6ee6
1 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,8 @@ MASTER_SITES= http://sigrok.org/download/source/libsigrokdecode/
|
||||||
MAINTAINER= bsam@FreeBSD.org
|
MAINTAINER= bsam@FreeBSD.org
|
||||||
COMMENT= Framework for hardware logic analyzers, protocol decoders library
|
COMMENT= Framework for hardware logic analyzers, protocol decoders library
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3+
|
||||||
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
GNU_CONFIGURE= yes
|
||||||
USES= gnome libtool pathfix pkgconfig python:3.4+
|
USES= gnome libtool pathfix pkgconfig python:3.4+
|
||||||
|
@ -16,5 +17,10 @@ USE_GNOME= glib20
|
||||||
MAKE_JOBS_UNSAFE= yes
|
MAKE_JOBS_UNSAFE= yes
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
INSTALL_TARGET= install-strip
|
INSTALL_TARGET= install-strip
|
||||||
|
CONFIGURE_ENV= PYTHON3="${PYTHON_CMD}"
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
@${REINPLACE_CMD} -Ee '/python-/ s|3\.[0-9]+|${PYTHON_VER}|g' \
|
||||||
|
${WRKSRC}/configure
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue