diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-01-07 07:37:59 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-01-07 07:37:59 +0000 |
commit | a06881657c43e490d794ac720fe965dbc433db6b (patch) | |
tree | 8a54807704d38000d46d4b915cc1c14fe75e1a65 | |
parent | 1bc31a5c9d5dddacb3dabcae6fda83554855440b (diff) | |
download | pkgsrc-a06881657c43e490d794ac720fe965dbc433db6b.tar.gz |
Replace harcoded -lpthread from configure script with ${PTHREAD_LDFLAGS}
to make this build on systems where -lpthread is not valid.
-rw-r--r-- | x11/xosd/Makefile.common | 10 |
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" |