Changeset View
Standalone View
x11-toolkits/pangomm/Makefile
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org> | # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> | ||||
PORTNAME= pangomm | PORTNAME= pangomm | ||||
PORTVERSION= 2.40.1 | PORTVERSION= 2.46.2 | ||||
PORTREVISION?= 4 | |||||
CATEGORIES= x11-toolkits | CATEGORIES= x11-toolkits | ||||
MASTER_SITES= GNOME | MASTER_SITES= GNOME | ||||
DIST_SUBDIR= gnome2 | DIST_SUBDIR= gnome | ||||
MAINTAINER= gnome@FreeBSD.org | MAINTAINER= gnome@FreeBSD.org | ||||
COMMENT= C++ wrapper for Pango | COMMENT= C++ wrapper for Pango | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
USES= tar:xz | USES= compiler:c++11-lang gnome localbase meson pkgconfig \ | ||||
python:3.7+,build tar:xz | |||||
.if !defined(REFERENCE_PORT) | |||||
PORTSCOUT= limitw:1,even | |||||
USES+= compiler:c++11-lang gmake gnome libtool localbase pathfix \ | |||||
pkgconfig | |||||
USE_CXXSTD= c++11 | |||||
USE_GNOME= cairomm glibmm pango | USE_GNOME= cairomm glibmm pango | ||||
GNU_CONFIGURE= yes | |||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
CONFIGURE_ARGS= --disable-documentation \ | MESON_ARGS= -Ddefault_library=both | ||||
--enable-static=yes | BINARY_ALIAS= python3=${PYTHON_CMD} | ||||
diizzy: If possible please try to fix these issues with upstream as python3 is usually hardcodec for no… | |||||
vishwinAuthorUnsubmitted Done Inline ActionsThat's a lot of upstreams to go through. vishwin: That's //a lot// of upstreams to go through. | |||||
diizzyUnsubmitted Not Done Inline ActionsIndeed but having at least not to patch build scripts is nice, scripts can usually be fixed by simply using shebangfix. diizzy: Indeed but having at least not to patch build scripts is nice, scripts can usually be fixed by… | |||||
vishwinAuthorUnsubmitted Done Inline Actionsshebangfix doesn't help when meson.builds specifically check for a python3 to execute with the script passed as an argument. Regardless, while it would be nice to not have to make these adjustments on our end, understand that upstream may have their reasons, which may be obsolete now; in which case I welcome anyone to fix them upstream as they are (re-)found. We have bigger issues to deal with, especially when it comes to ensuring stuff actually works as intended on our operating system (compared to that other one most upstreams target) vishwin: `shebangfix` doesn't help when `meson.build`s specifically check for a `python3` to execute… | |||||
diizzyUnsubmitted Not Done Inline ActionsAgreed, I should also clarify that by shebangfix I meant other scripts than meson. In many cases regarding meson it's usually a simple one-liner such as the one below. diizzy: Agreed, I should also clarify that by shebangfix I meant other scripts than meson. In many… | |||||
arrowdUnsubmitted Not Done Inline ActionsMeson upstream already have this bug reported: https://github.com/mesonbuild/meson/issues/4608 arrowd: Meson upstream already have this bug reported: https://github.com/mesonbuild/meson/issues/4608… | |||||
arrowdUnsubmitted Not Done Inline ActionsMeson upstream suggested to either follow PEP-394 [1] and install python3 executable or use a Meson override by the mean of machine file [2]. [1] https://peps.python.org/pep-0394/ arrowd: Meson upstream suggested to either follow PEP-394 [1] and install `python3` executable or use a… | |||||
INSTALL_TARGET= install-strip | |||||
BINARY_WRAPPERS= gm4 | |||||
PLIST_SUB= VERSION="2.4" API_VERSION="1.4" | # 2.48 and later are currently incompatible with consumers | ||||
PORTSCOUT= limit:^2\.46 | |||||
PLIST_SUB= API_VERSION=1.4 | |||||
post-patch: | |||||
.for d in tests | |||||
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/${d}//' \ | |||||
${WRKSRC}/Makefile.in | |||||
.endfor | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> | ||||
.else | |||||
PORTSCOUT= ignore:1 | |||||
.endif |
If possible please try to fix these issues with upstream as python3 is usually hardcodec for no good reason