summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"