summaryrefslogtreecommitdiff
path: root/x11/xosd/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xosd/Makefile.common')
-rw-r--r--x11/xosd/Makefile.common13
1 files changed, 5 insertions, 8 deletions
diff --git a/x11/xosd/Makefile.common b/x11/xosd/Makefile.common
index bdb53533824..6a32ab81942 100644
--- a/x11/xosd/Makefile.common
+++ b/x11/xosd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2004/01/07 07:37:59 xtraeme Exp $
+# $NetBSD: Makefile.common,v 1.8 2004/02/03 17:56:54 xtraeme Exp $
#
DISTNAME= xosd-2.2.5
@@ -21,12 +21,9 @@ 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 \
- )
+SUBST_CLASSES= fixme
+SUBST_STAGE.fixme= post-patch
+SUBST_FILES.fixme= configure
+SUBST_SED.fixme= -e s,-lpthread,${PTHREAD_LDFLAGS},g
.include "../../mk/pthread.buildlink2.mk"