]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
sed: Enable support for selinux.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sat, 8 Jan 2011 13:56:28 +0000 (14:56 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sat, 8 Jan 2011 13:56:28 +0000 (14:56 +0100)
Reference #85.

pkgs/core/sed/sed.nm

index 0f0af4cefa4e854d4526ac3fa12b41700fc380f7..6b3261c2e5074956a455d898c45035818feaaf42 100644 (file)
@@ -26,7 +26,7 @@ include $(PKGROOT)/Include
 
 PKG_NAME       = sed
 PKG_VER        = 4.1.5
-PKG_REL        = 0
+PKG_REL        = 1
 
 PKG_MAINTAINER =
 PKG_GROUP      = Applications/Text
@@ -34,6 +34,8 @@ PKG_URL        = http://sed.sourceforge.net/
 PKG_LICENSE    = GPLv2+
 PKG_SUMMARY    = A GNU stream text editor.
 
+PKG_BUILD_DEPS+= libselinux-devel
+
 define PKG_DESCRIPTION
        The sed (Stream EDitor) editor is a stream or batch (non-interactive) \
        editor.  Sed takes text as input, performs an operation or set of \
@@ -44,20 +46,10 @@ endef
 
 PKG_TARBALL    = $(THISAPP).tar.gz
 
-###############################################################################
-# Installation Details
-###############################################################################
-
-define STAGE_BUILD
-       cd $(DIR_APP) && \
-               ./configure \
-                       --prefix=/usr \
-                       --bindir=/bin \
-                       --without-included-regex \
-                       --mandir=/usr/share/man
-
-       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
-endef
+CONFIGURE_OPTIONS += \
+       --bindir=/bin \
+       --without-included-regex \
+       --mandir=/usr/share/man
 
 define STAGE_TEST
        cd $(DIR_APP) && make check