f19e93583b
Patch from christos@. Add comments to some of the other patch files to appease pkglint. Bump PKGREVISION.
47 lines
1.4 KiB
Text
47 lines
1.4 KiB
Text
$NetBSD: patch-aa,v 1.13 2012/05/25 20:01:31 he Exp $
|
|
|
|
Use LDFLAGS and BSD_INSTALL_*.
|
|
|
|
--- Makefile.in.orig 2011-02-05 17:35:31.000000000 +0000
|
|
+++ Makefile.in
|
|
@@ -357,7 +357,7 @@ P=
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
bindir=@bindir@
|
|
-mandir=@datarootdir@/man
|
|
+mandir=@mandir@
|
|
MANSECT=1
|
|
DESTBIN=${DESTDIR}${bindir}
|
|
DESTMAN=${DESTDIR}${mandir}/man${MANSECT}
|
|
@@ -449,7 +449,7 @@ pure:$(P) ${OBJS}
|
|
|
|
gethost: gethost.c sh.err.h tc.const.h sh.h
|
|
rm -f gethost
|
|
- ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} $(srcdir)/gethost.c
|
|
+ ${CC_FOR_GETHOST} -o gethost ${CPPFLAGS} ${LDFLAGS} $(srcdir)/gethost.c
|
|
|
|
tc.defs.c: gethost host.defs
|
|
@rm -f $@.tmp
|
|
@@ -596,20 +596,13 @@ vgrind:
|
|
install-strip: install
|
|
|
|
install: tcsh$(EXEEXT) install.catalogs install.man
|
|
- -mkdir -p ${DESTBIN}
|
|
- -mv -f ${DESTBIN}/tcsh$(EXEEXT) ${DESTBIN}/tcsh.old
|
|
- cp tcsh$(EXEEXT) ${DESTBIN}/tcsh$(EXEEXT)
|
|
- -strip ${DESTBIN}/tcsh$(EXEEXT)
|
|
- chmod 755 ${DESTBIN}/tcsh$(EXEEXT)
|
|
+ ${BSD_INSTALL_PROGRAM} tcsh${EXEEXT} ${DESTBIN}/tcsh${EXEEXT}
|
|
|
|
install.catalogs:
|
|
@test "x${BUILD_CATALOGS}" = "xyes" && (cd nls; ${MAKE} install DESTDIR=${DESTDIR}) || exit 0
|
|
|
|
install.man: tcsh.man
|
|
- -mkdir -p ${DESTMAN}
|
|
- -rm -f ${DESTMAN}/tcsh.${MANSECT}
|
|
- cp $(srcdir)/tcsh.man ${DESTMAN}/tcsh.${MANSECT}
|
|
- chmod 444 ${DESTMAN}/tcsh.${MANSECT}
|
|
+ ${BSD_INSTALL_MAN} tcsh.man ${DESTMAN}/tcsh.${MANSECT}
|
|
|
|
# Amiga Unix
|
|
#install.man: tcsh.man
|