From: Michael Tremer Date: Thu, 25 Feb 2010 21:13:39 +0000 (+0100) Subject: radvd: Fix layout of makefile. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=470c9b835a13cce9934b8636a9cbef9f193666f7;p=ipfire-3.x.git radvd: Fix layout of makefile. --- diff --git a/pkgs/core/radvd/radvd.nm b/pkgs/core/radvd/radvd.nm index 60b22d94d..04d625d5c 100644 --- a/pkgs/core/radvd/radvd.nm +++ b/pkgs/core/radvd/radvd.nm @@ -34,7 +34,6 @@ PKG_URL = http://flex.sourceforge.net/ PKG_LICENSE = BSD with advertising PKG_SUMMARY = A Router Advertisement daemon. -PKG_DEPS += flex PKG_BUILD_DEPS+= flex bison define PKG_DESCRIPTION @@ -48,17 +47,10 @@ endef PKG_TARBALL = $(THISAPP).tar.gz -############################################################################### -# Installation Details -############################################################################### +CONFIGURE_OPTIONS += \ + --mandir=/usr/share/man \ + --with-pidfile=/var/run/radvd/radvd.pid -define STAGE_BUILD - cd $(DIR_APP) && \ - ./configure \ - --prefix=/usr \ - --disable-static \ - --mandir=/usr/share/man \ - --with-pidfile=/var/run/radvd/radvd.pid - ln -s /usr/lib/libfl_pic.a /usr/lib/libfl.a ## needs to be checked. flex builds this file, but it is not there after extracting flex. - cd $(DIR_APP) && make $(PARALLELISMFLAGS) +define STAGE_PREPARE_CMDS + cd $(DIR_APP) && sed -e "s/-lfl/-lfl_pic/g" -i Makefile.* endef