summaryrefslogtreecommitdiff
path: root/x11/xosd
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-01-07 07:37:59 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-01-07 07:37:59 +0000
commita06881657c43e490d794ac720fe965dbc433db6b (patch)
tree8a54807704d38000d46d4b915cc1c14fe75e1a65 /x11/xosd
parent1bc31a5c9d5dddacb3dabcae6fda83554855440b (diff)
downloadpkgsrc-a06881657c43e490d794ac720fe965dbc433db6b.tar.gz
Replace harcoded -lpthread from configure script with ${PTHREAD_LDFLAGS}
to make this build on systems where -lpthread is not valid.
Diffstat (limited to 'x11/xosd')
-rw-r--r--x11/xosd/Makefile.common10
1 files changed, 9 insertions, 1 deletions
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"