mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
474e719fcd
Various functions did if-linux-else-windows-else-apple, leaving us behind; when those functions are supposed to return a value, but don't, that's Undefined Behavior. It's allowed to crash, or do something else. There were already patches adding the "other" case, here's a handful more of them. I chose to patch the existing port, rather than trying to chase an update to the recently-released 1.8.0, because that's a little less work *right now*. PR: 252229 Reported by: Guido Kollerie
30 lines
645 B
Makefile
30 lines
645 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= ksnip
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 1.7.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= graphics kde
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Screenshot and annotation tool
|
|
|
|
LICENSE= LGPL3+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libkColorPicker.so:graphics/kcolorpicker \
|
|
libkImageAnnotator.so:graphics/kimageannotator
|
|
|
|
USES= cmake compiler:c++11-lang kde:5 qt:5
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= ksnip
|
|
USE_KDE= ecm_build
|
|
USE_QT= concurrent core dbus gui network printsupport svg testlib \
|
|
widgets x11extras xml \
|
|
buildtools_build linguisttools_build qmake_build
|
|
USE_XORG= x11 xcb
|
|
|
|
PORTSCOUT= limit:^[0-9]
|
|
|
|
.include <bsd.port.mk>
|