openbsd-ports/lang/boo/patches/patch-default_build
jasper e607b9c7b2 - fix build with new nant
from ryan boggs (MAINTAINER)
2012-06-12 17:31:32 +00:00

72 lines
3.3 KiB
Plaintext

$OpenBSD: patch-default_build,v 1.2 2012/06/12 17:31:32 jasper Exp $
--- default.build.orig Thu Jan 20 13:25:04 2011
+++ default.build Sat Jun 9 08:50:09 2012
@@ -32,6 +32,7 @@
<property name="install.libdir" value="${path::combine(install.prefix,'lib')}" />
<property name="install.boolib" value="${path::combine(install.libdir,'boo')}" />
+ <property name="fakeroot" value="/" />
<property name="fakeroot.boolib" value="${install.destdir}/${install.boolib}" />
<property name="fakeroot.bindir" value="${install.destdir}/${install.bindir}" />
<property name="fakeroot.libdir" value="${install.destdir}/${install.libdir}" />
@@ -578,9 +579,9 @@
-->
<property name="sharedmime.prefix" value="${pkg-config::get-variable('shared-mime-info','prefix')}" />
- <property name="fakeroot.sharedmime" value="${install.destdir}/${sharedmime.prefix}" />
- <property name="gsv.prefix" value="${pkg-config::get-variable('gtksourceview-1.0','prefix')}" />
- <property name="fakeroot.gsv" value="${install.destdir}/${gsv.prefix}" />
+ <property name="fakeroot.sharedmime" value="${fakeroot}/${sharedmime.prefix}" />
+ <property name="gsv.prefix" value="${pkg-config::get-variable('gtksourceview-2.0','prefix')}" />
+ <property name="fakeroot.gsv" value="${fakeroot}/${gsv.prefix}" />
<mkdir dir="${fakeroot.boolib}"/>
<mkdir dir="${fakeroot.bindir}"/>
@@ -612,13 +613,13 @@
</exec>
</do>
</foreach>
-
+<!--
<copy todir="${fakeroot.boolib}/pt">
<fileset basedir="${build.dir}/pt">
<include name="*"/>
</fileset>
</copy>
-
+-->
<copy todir="${fakeroot.bindir}">
<fileset basedir="${build.dir}">
<include name="booc"/>
@@ -634,7 +635,7 @@
</fileset>
</copy>
- <copy file="extras/boo.lang" todir="${fakeroot.gsv}/share/gtksourceview-1.0/language-specs/" />
+ <copy file="extras/boo.lang" todir="${fakeroot.gsv}/share/gtksourceview-2.0/language-specs/" />
<copy file="${build.dir}/boo.pc" todir="${fakeroot.libdir}/pkgconfig/" />
<copy file="extras/boo-mime-info.xml" todir="${fakeroot.sharedmime}/share/mime/packages/" />
@@ -691,9 +692,9 @@
-->
<property name="sharedmime.prefix" value="${pkg-config::get-variable('shared-mime-info','prefix')}" />
- <property name="fakeroot.sharedmime" value="${install.destdir}/${sharedmime.prefix}" />
- <property name="gsv.prefix" value="${pkg-config::get-variable('gtksourceview-1.0','prefix')}" />
- <property name="fakeroot.gsv" value="${install.destdir}/${gsv.prefix}" />
+ <property name="fakeroot.sharedmime" value="${fakeroot}/${sharedmime.prefix}" />
+ <property name="gsv.prefix" value="${pkg-config::get-variable('gtksourceview-2.0','prefix')}" />
+ <property name="fakeroot.gsv" value="${fakeroot}/${gsv.prefix}" />
<foreach item="File" property="filename">
<in>
@@ -715,7 +716,7 @@
<delete file="${fakeroot.sharedmime}/share/mime-info/boo.keys" />
<delete file="${fakeroot.sharedmime}/share/mime-info/boo.mime" />
- <delete file="${fakeroot.gsv}/share/gtksourceview-1.0/language-specs/boo.lang" />
+ <delete file="${fakeroot.gsv}/share/gtksourceview-2.0/language-specs/boo.lang" />
<delete file="${fakeroot.libdir}/pkgconfig/boo.pc" />
<delete file="${fakeroot.sharedmime}/share/mime/packages/boo-mime-info.xml" />
<delete file="${fakeroot.bindir}/booi" />