summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep')
-rw-r--r--encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep10
1 files changed, 6 insertions, 4 deletions
diff --git a/encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep b/encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep
index b25f7090b..b1e534191 100644
--- a/encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep
+++ b/encap/src/encap-profiles/bcfg2-libiconv-1.9.2.ep
@@ -7,6 +7,8 @@
pkgspec="bcfg2-libiconv-1.9.2"
>
+<prereq package="m4-1.4.4" />
+
<environment
variable="CC"
value="gcc"
@@ -66,14 +68,14 @@ url="http://www.pobox.com/users/dclark/mirror/libiconv/libiconv-1.9.2.tar.gz
<prepackage type="set">
# Make man pages available from /usr/local/lib/bcfg2/man
mv lib/bcfg2/share/man lib/bcfg2/
-# Other stuff...
-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>
<encapinfo>
-description Libiconv - Converts between character encodings
+description libiconv - Converts between character encodings
</encapinfo>
</encap_profile>