From 1ee4054d1296e17914b467202e3668f1f74e4e56 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Wed, 7 Jan 2004 07:37:59 +0000 Subject: Replace harcoded -lpthread from configure script with ${PTHREAD_LDFLAGS} to make this build on systems where -lpthread is not valid. --- x11/xosd/Makefile.common | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'x11') diff --git a/x11/xosd/Makefile.common b/x11/xosd/Makefile.common index cf9a39fd479..bdb53533824 100644 --- a/x11/xosd/Makefile.common +++ b/x11/xosd/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2003/09/26 11:23:43 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.7 2004/01/07 07:37:59 xtraeme Exp $ # DISTNAME= xosd-2.2.5 @@ -21,4 +21,12 @@ 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" -- cgit v1.2.3