psmisc/psmisc-22.6-secarch.patch

31 lines
880 B
Diff

diff -up psmisc-22.6/src/Makefile.am.secarch psmisc-22.6/src/Makefile.am
--- psmisc-22.6/src/Makefile.am.secarch 2007-12-10 12:11:04.000000000 +0100
+++ psmisc-22.6/src/Makefile.am 2007-12-10 12:11:37.000000000 +0100
@@ -5,14 +5,17 @@ bin_PROGRAMS = fuser killall pstree oldf
if WANT_PEEKFD_I386
bin_PROGRAMS += peekfd
AM_CFLAGS += -DI386
+ peekfd_SOURCES = peekfd.c
endif
if WANT_PEEKFD_X86_64
bin_PROGRAMS += peekfd
AM_CFLAGS += -DX86_64
+ peekfd_SOURCES = peekfd.c
endif
if WANT_PEEKFD_PPC
bin_PROGRAMS += peekfd
AM_CFLAGS += -DPPC
+ peekfd_SOURCES = peekfd.c
endif
oldfuser_SOURCES = oldfuser.c comm.h signals.c signals.h loop.h i18n.h
@@ -23,8 +26,6 @@ killall_SOURCES = killall.c comm.h signa
killall_LDADD = @SELINUX_LIB@
-peekfd_SOURCES = peekfd.c
-
pstree_SOURCES = pstree.c comm.h i18n.h
pstree_LDADD = @TERMCAP_LIB@ @SELINUX_LIB@