pkgsrc/graphics/deforaos-camera/patches/patch-src_widget_Makefile
khorben 80fc5d933b deforaos-camera: update to 0.3.0
Changes since 0.2.0:
- Defaults to Gtk+ 3 (like libDesktop)
- Re-licensed to 2-clause BSD
2020-01-24 14:21:52 +00:00

18 lines
615 B
Text

$NetBSD: patch-src_widget_Makefile,v 1.2 2020/01/24 14:21:52 khorben Exp $
Fix build for the camera Widget.
--- src/widget/Makefile.orig 2020-01-23 19:01:20.000000000 +0000
+++ src/widget/Makefile
@@ -6,9 +6,9 @@ LIBDIR = $(PREFIX)/lib
CC = cc
CPPFLAGSF=
CPPFLAGS=
-CFLAGSF = `pkg-config --cflags libDesktop` -fPIC
+CFLAGSF = -W `pkg-config --cflags libDesktop gtk+-x11-3.0` -fPIC
CFLAGS = -W -Wall -g -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
-LDFLAGSF= `pkg-config --libs libDesktop` -lintl
+LDFLAGSF= `pkg-config --libs libDesktop gtk+-x11-3.0` -lintl
LDFLAGS = -Wl,-z,relro -Wl,-z,now
EXEEXT =
AR = ar