pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/xosd Use subst.mk instead of using sed and mv.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ca6cb1af7093
branches: trunk
changeset: 467598:ca6cb1af7093
user: xtraeme <xtraeme%pkgsrc.org@localhost>
date: Tue Feb 03 17:56:54 2004 +0000
description:
Use subst.mk instead of using sed and mv.
diffstat:
x11/xosd/Makefile.common | 13 +++++--------
1 files changed, 5 insertions(+), 8 deletions(-)
diffs (26 lines):
diff -r 1e82dcf99da3 -r ca6cb1af7093 x11/xosd/Makefile.common
--- a/x11/xosd/Makefile.common Tue Feb 03 17:49:53 2004 +0000
+++ b/x11/xosd/Makefile.common Tue Feb 03 17:56:54 2004 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index