]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
passwd: Clean up NM add popt-devel as dependency.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 8 Jan 2011 14:16:03 +0000 (15:16 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 8 Jan 2011 14:16:03 +0000 (15:16 +0100)
pkgs/core/passwd/passwd.nm

index a6a29194eb080b9ee9516ad8e6f9674af6e8c806..a59d82ec5244fac2609eb09e2217b4dd8203ba30 100644 (file)
@@ -35,7 +35,7 @@ PKG_LICENSE    = BSD
 PKG_SUMMARY    = An utility for setting or changing passwords using PAM.
 
 PKG_BUILD_DEPS+= audit-devel glib2-devel libuser-devel pam-devel pkg-config \
-       libselinux-devel
+       libselinux-devel popt-devel
 
 define PKG_DESCRIPTION
        This package contains a system utility (passwd) which sets \
@@ -45,13 +45,9 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.bz2
 
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --with-selinux \
-                       --with-audit \
-                       --disable-static
+CONFIGURE_OPTIONS +=\
+       --with-selinux \
+       --with-audit \
+       --disable-static
 
-       cd $(DIR_APP) && make DEBUG= RPM_OPT_FLAGS="$(CFLAGS)" $(PARALLELISMFLAGS)
-endef
+STAGE_BUILD_TARGETS = DEBUG= RPM_OPT_FLAGS="$(CFLAGS)"