Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2009 13:56:53 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 156909 for review
Message-ID:  <200901301356.n0UDuruI084327@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156909

Change 156909 by rwatson@rwatson_freebsd_capabilities on 2009/01/30 13:56:02

	Add a stub man page for rtld-elf-cap -- turns out that our make
	system doesn't like a target with a .1 name if there isn't a
	man page, so NO_MAN didn't work.  Also, use ${.CURDIR} for the
	linker script path.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#7 edit
.. //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/rtld-elf-cap.1#1 add

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#7 (text+ko) ====

@@ -1,5 +1,5 @@
 # $FreeBSD$
-# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#6 $
+# $P4: //depot/projects/trustedbsd/capabilities/src/libexec/rtld-elf-cap/Makefile#7 $
 
 WITHOUT_SSP=
 
@@ -9,11 +9,11 @@
 SRCS=		rtld_start.S \
 		reloc.c rtld.c rtld_lock.c map_object.c \
 		malloc.c xmalloc.c debug.c libmap.c
-NO_MAN=
+MAN=		rtld-elf-cap.1
 CSTD?=		gnu99
 CFLAGS+=	-Wall -DFREEBSD_ELF -DIN_RTLD -DIN_RTLD_CAP -g
 CFLAGS+=	-I${.CURDIR}/../rtld-elf/${MACHINE_ARCH} -I${.CURDIR}/../rtld-elf
-LDFLAGS+=	-nostdlib -Wl,-e,_rtld_start -Wl,-T,rtld-elf-cap.xs
+LDFLAGS+=	-nostdlib -Wl,-e,_rtld_start -Wl,-T,${.CURDIR}/rtld-elf-cap.xs
 INSTALLFLAGS=	-C -b
 PRECIOUSPROG=
 BINDIR=		/libexec



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901301356.n0UDuruI084327>