pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xosd Replace harcoded -lpthread from configure scr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d2fd7db29c5d
branches: trunk
changeset: 465861:d2fd7db29c5d
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Wed Jan 07 07:37:59 2004 +0000
description:
Replace harcoded -lpthread from configure script with ${PTHREAD_LDFLAGS}
to make this build on systems where -lpthread is not valid.
diffstat:
x11/xosd/Makefile.common | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r bf6ad040cce2 -r d2fd7db29c5d x11/xosd/Makefile.common
--- a/x11/xosd/Makefile.common Wed Jan 07 07:33:54 2004 +0000
+++ b/x11/xosd/Makefile.common Wed Jan 07 07:37:59 2004 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index