summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep9
1 files changed, 7 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep b/encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep
index 62db17661..5b61c9a92 100644
--- a/encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep
+++ b/encap/src/encap-profiles/bcfg2-pkg-config-0.20.ep
@@ -7,6 +7,10 @@
pkgspec="bcfg2-pkg-config-0.20"
>
+<prereq package="m4-1.4.4" />
+<prereq package="bcfg2-libiconv-1.9.2" />
+<prereq package="bcfg2-gettext-0.14.5" />
+
<environment
variable="CC"
value="gcc"
@@ -65,8 +69,9 @@ url="http://www.pobox.com/users/dclark/mirror/pkg-config/pkg-config-0.20.tar.gz
</source>
<prepackage type="set">
-mkdir var 2>/dev/null || exit 0
-mkdir var/encap 2>/dev/null || exit 0
+# Make "this encap is installed" sentinal file available in /usr/local/var/encap
+test -d var || mkdir var
+test -d var/encap || mkdir var/encap
touch var/encap/${ENCAP_PKGNAME}
</prepackage>