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