]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
readline: Clean up naoki-makefile.
authorSchantl Stefan <Stevee@ipfire.org>
Mon, 15 Mar 2010 00:17:52 +0000 (01:17 +0100)
committerSchantl Stefan <Stevee@ipfire.org>
Mon, 15 Mar 2010 00:17:52 +0000 (01:17 +0100)
pkgs/core/readline/readline.nm

index 68aeacd028dae4920201cd717fbb0d114718f2e6..2bd21cfbe8beaea98901922a9502ed82e0ce2cc2 100644 (file)
@@ -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