pkgsrc/comms/hylafax/patches/patch-af
2010-01-29 16:38:20 +00:00

44 lines
1.2 KiB
Text

$NetBSD: patch-af,v 1.8 2010/01/29 16:44:13 joerg Exp $
--- defs.in.orig 2005-09-27 18:38:24.000000000 +0000
+++ defs.in
@@ -44,13 +44,14 @@ SHELL = @SCRIPT_SH@
# to insufficient; you are better off rerunning the
# configure script so that all uses are set correctly.
#
-SPOOL = @SPOOL@
-SBIN = @SBIN@
-BIN = @BIN@
-LIBDATA = @LIBDATA@
-LIBDIR = @LIBDIR@
-LIBEXEC = @LIBEXEC@
-HTMLDIR = @HTMLDIR@
+PREFIX = ${DESTDIR}@PREFIX@
+SPOOL = ${DESTDIR}@SPOOL@
+SBIN = ${DESTDIR}@SBIN@
+BIN = ${DESTDIR}@BIN@
+LIBDATA = ${DESTDIR}@LIBDATA@
+LIBDIR = ${DESTDIR}@LIBDIR@
+LIBEXEC = ${DESTDIR}@LIBEXEC@
+HTMLDIR = ${DESTDIR}@HTMLDIR@
FONTMAP = @FONTMAP@
FONTPATH = @FONTPATH@
SENDMAIL = @SENDMAIL@
@@ -261,7 +262,7 @@ LDFLAGS = ${LDOPTS} ${LDLIBS}
LDOPTS = ${VLDOPTS} ${LLDOPTS} ${GLDOPTS}
LDLIBS = ${VLDLIBS} ${LLDLIBS} ${GLDLIBS}
-GLDOPTS = -L/usr/local/lib
+GLDOPTS = -L${PREFIX}/lib
GLDLIBS = ${SHDLIBC}
#
@@ -322,7 +323,7 @@ INCLDIR = /usr/include
# MANSYS subdirectory for server & server-related apps
# MANFILES subdirectory for file format info
#
-MAN = @MANDIR@
+MAN = ${DESTDIR}@MANDIR@
MANAPPS = @MANAPPS@
MANSYS = @MANSYS@
MANFILES = @MANFILES@