summaryrefslogtreecommitdiff
path: root/x11/xosd/Makefile.common
blob: bdb53533824807bd3417fc85b2018996c874c979 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile.common,v 1.7 2004/01/07 07:37:59 xtraeme Exp $
#

DISTNAME=	xosd-2.2.5
CATEGORIES=	x11
MASTER_SITES=	http://www.ignavus.net/

MAINTAINER=	jmmv@NetBSD.org
HOMEPAGE=	http://www.ignavus.net/software.html

DISTINFO_FILE=		${.CURDIR}/../../x11/xosd/distinfo
PATCHDIR=		${.CURDIR}/../../x11/xosd/patches

GNU_CONFIGURE=		yes
USE_BUILDLINK2=		yes
USE_LIBTOOL=		yes
USE_X11=		yes

LIBTOOL_OVERRIDE=	${WRKSRC}/libtool
SHLIBTOOL_OVERRIDE=	${WRKSRC}/libtool-disable-static

CONFIGURE_ARGS+=	--disable-xinerama

post-extract:
	@( \
	${MV} ${WRKSRC}/configure ${WRKSRC}/configure.fixme; \
	${SED} -e "s,-lpthread,${PTHREAD_LDFLAGS},g" \
		${WRKSRC}/configure.fixme > ${WRKSRC}/configure; \
	${CHMOD} +x ${WRKSRC}/configure \
	)

.include "../../mk/pthread.buildlink2.mk"