]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
net-snmp: Fix configure command.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Sep 2009 10:17:41 +0000 (12:17 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 5 Sep 2009 10:17:41 +0000 (12:17 +0200)
lfs/net-snmp

index 4142408bcb81e641e1d2dfd99ebe978b6a204dae..f2510033252524f1c680e0ae42022ae05a9cb6c6 100644 (file)
@@ -80,16 +80,19 @@ $(objects):
 $(OBJECT): $(objects)
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure \
-                                       --prefix=/usr \
-                                       --with-default-snmp-version=2 \
-                                       --with-sys-contact=root@ \
-                                       --with-sys-location=localhost \
-                                       --with-logfile=/var/log/snmpd.log \
-                                       --with-persistent-directory=/var/net-snmp \
-                                       --libdir=/usr/lib \
-                                       --sysconfdir=/etc \
-                                       --disable-embedded-perl
+       cd $(DIR_APP) && \
+               ./configure \
+                       $(CONFIGURE_ARCH) \
+                       --prefix=/usr \
+                       --sysconfdir=/etc \
+                       --libdir=/usr/lib \
+                       --with-default-snmp-version=2 \
+                       --with-sys-contact=root@ \
+                       --with-sys-location=localhost \
+                       --with-logfile=/var/log/snmpd.log \
+                       --with-persistent-directory=/var/net-snmp \
+                       --disable-embedded-perl
+
        cd $(DIR_APP) && make CFLAGS="$(CFLAGS)" #$(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install