]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
radvd: Fix layout of makefile.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Feb 2010 21:13:39 +0000 (22:13 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 25 Feb 2010 21:13:39 +0000 (22:13 +0100)
pkgs/core/radvd/radvd.nm

index 60b22d94d16cb9362f13df7f78dba72b6016d15a..04d625d5c55f843950b886bdad21a2c780cacb8e 100644 (file)
@@ -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