From: Schantl Stefan Date: Mon, 15 Mar 2010 00:17:52 +0000 (+0100) Subject: readline: Clean up naoki-makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88e99db116dadb0c962c32cbf36b2295a0803a06;p=ipfire-3.x.git readline: Clean up naoki-makefile. --- diff --git a/pkgs/core/readline/readline.nm b/pkgs/core/readline/readline.nm index 68aeacd02..2bd21cfbe 100644 --- a/pkgs/core/readline/readline.nm +++ b/pkgs/core/readline/readline.nm @@ -47,21 +47,10 @@ endef PKG_TARBALL = $(THISAPP).tar.gz -define STAGE_BUILD - cd $(DIR_APP) && \ - ./configure \ - --prefix=/usr \ - --libdir=/lib \ +STAGE_BUILD_TARGETS += SHLIB_LIBS=-lncurses -# remove rpath from libtool -@if [ -e "libtool" ]; then \ - sed -i libtool \ - -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ - -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g'; \ -fi - - cd $(DIR_APP) && make $(PARALLELISMFLAGS) SHLIB_LIBS=-lncurses -endef +CONFIGURE_OPTIONS += \ + --libdir=/lib \ define STAGE_INSTALL_CMDS -mkdir -pv $(BUILDROOT)/usr/lib