da1a4408c0
- Fix libintl/libiconv detection - Bump PKGNAME
31 lines
901 B
Plaintext
31 lines
901 B
Plaintext
$OpenBSD: patch-src_Makefile_in,v 1.3 2005/11/19 01:23:42 alek Exp $
|
|
--- src/Makefile.in.orig Sat Aug 14 17:42:37 1999
|
|
+++ src/Makefile.in Sat Nov 19 01:19:38 2005
|
|
@@ -126,7 +126,7 @@ EXTRA_DIST = ansi2knr.1 ansi2knr.c \
|
|
|
|
CLEANFILES = $(SCRIPTS) su
|
|
|
|
-INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib -I../intl
|
|
+INCLUDES = -I.. -I$(srcdir) -I$(top_srcdir)/lib
|
|
DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@
|
|
LDADD = @INTLLIBS@ ../lib/libsu.a
|
|
|
|
@@ -150,7 +150,7 @@ su_DEPENDENCIES = $(LDADD)
|
|
|
|
SUFFIXES = .sh
|
|
|
|
-installed_su = $(bindir)/`echo su|sed '$(transform)'`
|
|
+installed_su = $(DESTDIR)$(bindir)/`echo su|sed '$(transform)'`
|
|
|
|
setuid_root_mode = a=rx,u+s
|
|
|
|
@@ -893,7 +893,7 @@ install-root: su
|
|
@$(INSTALL_SU)
|
|
|
|
install-exec-local: su
|
|
- @TMPFILE=$(bindir)/.su-$$$$; \
|
|
+ @TMPFILE=$(DESTDIR)$(bindir)/.su-$$$$; \
|
|
rm -f $$TMPFILE; \
|
|
echo > $$TMPFILE; \
|
|
can_create_suid_root_executable=no; \
|