From 824b0c4a15fb7529d26f1c87b6080bd7048c03bc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 21 Dec 2014 07:10:06 +0100 Subject: [PATCH] heirloom-sh: build with our {C,LD}FLAGS; use register_shell. --- srcpkgs/heirloom-sh/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/heirloom-sh/template b/srcpkgs/heirloom-sh/template index 73d0e93f15f..a8911856dfb 100644 --- a/srcpkgs/heirloom-sh/template +++ b/srcpkgs/heirloom-sh/template @@ -1,15 +1,18 @@ # Template file for 'heirloom-sh' pkgname=heirloom-sh version=050706 -revision=1 +revision=2 short_desc="A portable variant of the traditional Unix shell" maintainer="allan " license="Caldera OpenSolaris" homepage="http://heirloom.sourceforge.net/sh.html" distfiles="$SOURCEFORGE_SITE/project/heirloom/$pkgname/$version/$pkgname-$version.tar.bz2" checksum="25fb8409e1eb75bb5da21ca32baf2d5eebcb8b84a1288d66e65763a125809e1d" -build_style=gnu-makefile +register_shell="/bin/heirloom-sh" +do_build() { + make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs} +} do_install() { vbin sh heirloom-sh vman sh.1.out heirloom-sh.1