summaryrefslogtreecommitdiff
path: root/x11/xosd
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-02-03 17:56:54 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-02-03 17:56:54 +0000
commitdeef5375677c77a265568ecea160cbd6bd200713 (patch)
tree92b4b456d3ad12a27989326c0201c8867f2581c5 /x11/xosd
parent32ae48bfcef283d70a7cb152aaa4317dd55a1093 (diff)
downloadpkgsrc-deef5375677c77a265568ecea160cbd6bd200713.tar.gz
Use subst.mk instead of using sed and mv.
Diffstat (limited to 'x11/xosd')
-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"