pkgsrc/net/yale-tftpd/patches/patch-aa
heinz d7493ed02e Added compatibility fixes for NetBSD/FreeBSD/Linux/Solaris provided by
Yakovetsky Vladimir in PR pkg/36942.
Shut up warning by pkglint (PLIST).
Introduced PKGMANDIR in software Makefile.
2007-10-02 20:23:07 +00:00

19 lines
424 B
Text

$NetBSD: patch-aa,v 1.3 2007/10/02 20:23:08 heinz Exp $
--- Makefile.orig 1994-10-07 01:41:10.000000000 +0100
+++ Makefile
@@ -2,10 +2,11 @@
SRCS= tftpd.c tftpsubs.c tftpyale.c config.c
PROG= tftpd
-MAN8= tftpd.8
+MAN= tftpd.8
-ETCDIR?=${DESTDIR}/etc
-BINDIR?=${DESTDIR}/usr/libexec
+ETCDIR=${PKG_SYSCONFDIR}
+BINDIR=${PREFIX}/libexec
+MANDIR=${PREFIX}/${PKGMANDIR}
CFLAGS+=-DCONFIGFILE='"${ETCDIR}/tftpd.conf"'