1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/security/pidentd/files/patch-ab

54 lines
1.5 KiB
Plaintext
Raw Normal View History

--- Makefile.orig Mon Aug 12 06:08:06 1996
+++ Makefile Sat Aug 17 19:12:06 1996
@@ -18,9 +18,9 @@
MAKE=make
# set this to 'in.' if you like Sun's prefix on internet daemons
-PREFIX=in.
+PREFIX=
-DESTROOT=/usr/local
+DESTROOT=${REALPREFIX}
# set this to '/share' if your man pages are in /usr/share
#SHARE=/share
@@ -60,13 +60,13 @@
# -DSTRONG_LOG -DALLOW_FORMAT \
#
GDEFS=-DSTRONG_LOG -DALLOW_FORMAT \
- -DDPATH_CONFIG='\"$(CONFDIR)/identd.conf\"' \
+ -DPATH_CONFIG='\"$(CONFDIR)/identd.conf\"' \
-DPATH_DESKEY='\"$(CONFDIR)/identd.key\"'
# GLIBS=-lident -ldes
GLIBS=
-CFLAGS=-O
+#CFLAGS=-O
#LDFLAGS=-L$(DESTROOT)/lib
all:
@@ -527,18 +527,18 @@
mv $@-t $@
chmod 755 $@
-install: $(PREFIX)identd identd.$(MANSECT) identconn itest idecrypt
+install: $(PREFIX)identd identd.$(MANSECT) idecrypt # identconn itest
$(INSTALL) -m 644 identd.$(MANSECT) $(MANDIR)
if [ -n "$(PREFIX)" ] ; then \
rm -f $(MANDIR)/$(PREFIX)identd.$(MANSECT) ; \
echo ".so `basename $(MANDIR)`/identd.$(MANSECT)" > $(MANDIR)/$(PREFIX)identd.$(MANSECT) ; \
fi
$(INSTALL) -m 755 $(PREFIX)identd $(DESTDIR)
- $(INSTALL) -m 755 identconn $(DESTROOT)/bin
+# $(INSTALL) -m 755 identconn $(DESTROOT)/bin
$(INSTALL) -m 644 idecrypt.man $(MANDIR)/idecrypt.$(MANSECT)
$(INSTALL) -m 755 idecrypt $(DESTDIR)/idecrypt
- @echo "The following command will fail it you are not Root."
- -$(INSTALL) -o root -g kmem -m 2555 itest $(DESTROOT)/bin
+# @echo "The following command will fail it you are not Root."
+# -$(INSTALL) -o root -g kmem -m 2555 itest $(DESTROOT)/bin
tests: