summaryrefslogtreecommitdiff
path: root/x11/qt2-libs
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-05 21:21:54 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-05 21:21:54 +0000
commit8f60a38025c534e69985d394dd8c50d501fbe51d (patch)
tree4f6b716257f83f678fed1f99ece6f66fa94c5982 /x11/qt2-libs
parentb3d233f0b6af1ac7a4b868d4dfeb91f5d137e42c (diff)
downloadpkgsrc-8f60a38025c534e69985d394dd8c50d501fbe51d.tar.gz
Use SUBST framework, patch files directly.
Diffstat (limited to 'x11/qt2-libs')
-rw-r--r--x11/qt2-libs/Makefile.common29
-rw-r--r--x11/qt2-libs/distinfo8
-rw-r--r--x11/qt2-libs/patches/patch-ab6
-rw-r--r--x11/qt2-libs/patches/patch-ac6
-rw-r--r--x11/qt2-libs/patches/patch-ap6
5 files changed, 21 insertions, 34 deletions
diff --git a/x11/qt2-libs/Makefile.common b/x11/qt2-libs/Makefile.common
index b4a2bf61323..4ab0962bf00 100644
--- a/x11/qt2-libs/Makefile.common
+++ b/x11/qt2-libs/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2005/12/05 20:51:19 rillig Exp $
+# $NetBSD: Makefile.common,v 1.26 2006/01/05 21:22:13 joerg Exp $
#
DISTNAME= qt-x11-${QTVERSION}
@@ -41,28 +41,15 @@ CONFIGURE_ARGS+= -platform solaris-g++
CONFIGURE_ARGS+= -xft -platform freebsd-g++
.endif
-FILES_SUBST= BUILDLINK_DIR=${BUILDLINK_DIR:Q}
-FILES_SUBST+= BUILDLINK_X11_DIR=${BUILDLINK_X11_DIR:Q}
-FILES_SUBST+= LOCALBASE=${LOCALBASE:Q}
-FILES_SUBST+= QTDIR=${QTPREFIX:Q}
-FILES_SUBST+= X11BASE=${X11BASE:Q}
-FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/}
+SUBST_CLASSES+= paths
+SUBST_FILES.paths= configs/netbsd-g++-static configs/solaris-g++-static
+SUBST_FILES.paths+= configs/freebsd-g++-static
+SUBST_SED.paths= -e 's,@X11BASE@,${X11BASE},g'
+SUBST_SED.paths+= -e 's,@LOCALBASE@,${LOCALBASE},g'
+SUBST_SED.paths+= -e 's,@QTDIR@,${QTPREFIX},g'
+SUBST_STAGE.paths= post-patch
.include "../../mk/x11.buildlink3.mk"
-post-extract:
- cd ${WRKSRC}/configs; \
- for file in netbsd-g++-static solaris-g++-static \
- freebsd-g++-static; do \
- ${MV} -f $${file} $${file}.in; \
- done
-
-post-patch:
- cd ${WRKSRC}/configs; \
- for file in netbsd-g++-static solaris-g++-static \
- freebsd-g++-static; do \
- ${SED} ${FILES_SUBST_SED} $${file}.in > $${file}; \
- done
-
pre-build:
@${TOUCH} ${WRKSRC}/.buildopts
diff --git a/x11/qt2-libs/distinfo b/x11/qt2-libs/distinfo
index 4e3f33ae198..96b76bea06a 100644
--- a/x11/qt2-libs/distinfo
+++ b/x11/qt2-libs/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.15 2005/10/04 19:34:36 joerg Exp $
+$NetBSD: distinfo,v 1.16 2006/01/05 21:22:13 joerg Exp $
SHA1 (qt-x11-2.3.1.tar.gz) = f1403700fe80fbfb125ec84731d0dfe9c576c823
RMD160 (qt-x11-2.3.1.tar.gz) = b579018cfa5782d2f8b94b0846c35bce3a09dfa4
Size (qt-x11-2.3.1.tar.gz) = 8967271 bytes
SHA1 (patch-aa) = 10f4cea8c2719c3c70becff88022e910778c4538
-SHA1 (patch-ab) = cada94d79878a49e24211ab7d17c097bbf5a9794
-SHA1 (patch-ac) = 0d94197bd40994b0c658e466d3ebb81fabfbf30c
+SHA1 (patch-ab) = 1f5b23c519d011c3c96d7ebd68120351a6edc203
+SHA1 (patch-ac) = f230f0729397d642ccf6d511fb16df8800d495ba
SHA1 (patch-ad) = eead0ed591c575ef542052bd233981dda954eb67
SHA1 (patch-ae) = e1ef4bde84473d6b84dbd226dbd7f8802abc6b4b
SHA1 (patch-af) = ea8b1c3f7a099a5492301281476ea831134ad97b
@@ -17,5 +17,5 @@ SHA1 (patch-ak) = 3eac0d921f3535231aab9ff1f6738f9541b8b564
SHA1 (patch-al) = 32f6b13393b115c56a4ca75f62f5916034189174
SHA1 (patch-am) = ebbc184b095e2adcf81461472f4723d515167a9e
SHA1 (patch-ao) = 9e9be92054f4b73c973f63d4a8524ac30a4bbb44
-SHA1 (patch-ap) = b1245b7aab4b8dd5bd19892457ffb16cc182c1ca
+SHA1 (patch-ap) = 1895d85163bcb8246cf4b8a4a692d16e7d876506
SHA1 (patch-aq) = cf7ece73766d43f68343f45b984516bae21822ad
diff --git a/x11/qt2-libs/patches/patch-ab b/x11/qt2-libs/patches/patch-ab
index fc467d58e57..4c38c43602e 100644
--- a/x11/qt2-libs/patches/patch-ab
+++ b/x11/qt2-libs/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.8 2002/08/25 18:40:44 jlam Exp $
+$NetBSD: patch-ab,v 1.9 2006/01/05 21:22:14 joerg Exp $
---- configs/netbsd-g++-static.in.orig Wed Jun 13 04:56:48 2001
-+++ configs/netbsd-g++-static.in
+--- configs/netbsd-g++-static.orig Wed Jun 13 04:56:48 2001
++++ configs/netbsd-g++-static
@@ -1,44 +1,42 @@
# Compiling
INTERFACE_DECL_PATH = .
diff --git a/x11/qt2-libs/patches/patch-ac b/x11/qt2-libs/patches/patch-ac
index 455b92efd38..811d34d6827 100644
--- a/x11/qt2-libs/patches/patch-ac
+++ b/x11/qt2-libs/patches/patch-ac
@@ -1,7 +1,7 @@
-$NetBSD: patch-ac,v 1.6 2002/10/25 10:56:05 bouyer Exp $
+$NetBSD: patch-ac,v 1.7 2006/01/05 21:22:14 joerg Exp $
---- configs/solaris-g++-static.in.orig Wed Jun 13 10:56:50 2001
-+++ configs/solaris-g++-static.in Thu Oct 17 18:28:26 2002
+--- configs/solaris-g++-static.orig Wed Jun 13 10:56:50 2001
++++ configs/solaris-g++-static Thu Oct 17 18:28:26 2002
@@ -2,24 +2,25 @@
INTERFACE_DECL_PATH = .
SYSCONF_CXX = g++
diff --git a/x11/qt2-libs/patches/patch-ap b/x11/qt2-libs/patches/patch-ap
index 100620c4603..5e515d0e660 100644
--- a/x11/qt2-libs/patches/patch-ap
+++ b/x11/qt2-libs/patches/patch-ap
@@ -1,7 +1,7 @@
-$NetBSD: patch-ap,v 1.1 2005/10/04 19:34:36 joerg Exp $
+$NetBSD: patch-ap,v 1.2 2006/01/05 21:22:14 joerg Exp $
---- configs/freebsd-g++-static.in.orig 2005-07-30 22:54:44.000000000 +0000
-+++ configs/freebsd-g++-static.in
+--- configs/freebsd-g++-static.orig 2005-07-30 22:54:44.000000000 +0000
++++ configs/freebsd-g++-static
@@ -1,44 +1,42 @@
# Compiling
INTERFACE_DECL_PATH = .