]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
bc: Fix installation of man pages.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 Jan 2010 11:11:55 +0000 (12:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 28 Jan 2010 11:11:55 +0000 (12:11 +0100)
pkgs/core/bc/bc.nm

index 0e436ac3a646ad48dc7a9056e60ad9b029fc15bc..ed3cc13d5d09560816eb8cd45a909163ca83b3e2 100644 (file)
@@ -54,3 +54,13 @@ define STAGE_PREPARE_CMDS
        cd $(DIR_APP) && sed -i '/stdlib/a #include <string.h>' lib/number.c
        cd $(DIR_APP) && sed -i 's/program.*save/static &/' bc/load.c
 endef
+
+define STAGE_BUILD
+       cd $(DIR_APP) && \
+               ./configure \
+                       --prefix=/usr \
+                       --disable-static \
+                       --mandir=/usr/share/man
+
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+endef