Compile with -pthread to prevent undefined references.

"yay!" landry@ (maintainer)
This commit is contained in:
ajacoutot 2009-10-22 22:51:04 +00:00
parent 3285ad8135
commit 6508f5827b

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2009/08/10 06:34:30 kili Exp $
# $OpenBSD: Makefile,v 1.3 2009/10/22 22:51:04 ajacoutot Exp $
COMMENT = graphical su wrapper
DISTNAME = ktsuss-1.4
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES = sysutils
MAINTAINER = Landry Breuil <gaston@gcu.info>
@ -16,6 +16,8 @@ HOMEPAGE = http://developer.berlios.de/projects/ktsuss
MASTER_SITES = ${MASTER_SITE_BERLIOS:=ktsuss/}
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = LDFLAGS="-pthread"
CFLAGS += -pthread
MODULES= devel/gettext
@ -25,6 +27,6 @@ WANTLIB = X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
pthread-stubs xcb z
pthread-stubs xcb z pthread
.include <bsd.port.mk>