summaryrefslogtreecommitdiff
path: root/net/qadsl/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/qadsl/patches/patch-aa')
-rw-r--r--net/qadsl/patches/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/net/qadsl/patches/patch-aa b/net/qadsl/patches/patch-aa
new file mode 100644
index 00000000000..eff7b6e2f33
--- /dev/null
+++ b/net/qadsl/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/04/14 18:34:08 cjep Exp $
+
+--- Makefile.orig 2001-10-20 14:45:47.000000000 +0100
++++ Makefile
+@@ -2,21 +2,22 @@
+
+ PROG=qadsl
+ CONF=qadsl.conf
+-MACRO=__OpenBSD__
++#MACRO=__OpenBSD__
+ OBJS=main.o netfunc.o conf.o func.o
+ SRC=main.c netfunc.c conf.c func.c
+-CPATH=/etc/
+-INSTALL=/usr/local/sbin/
+-MANPATH=/usr/local/man/man8/
++CPATH=${PKG_SYSCONFDIR}
++INSTALL=${PREFIX}/sbin
++MANPATH=${PREFIX}/man/man8
++CFLAGS+=-D__DEFAULT_CFG_PATH=\"${CPATH}/${CONF}\"
+
+ all:${PROG}
+
+ ${PROG}:
+- ${CC} -c ${SRC}
++ ${CC} ${CFLAGS} -c ${SRC}
+ ${CC} -o ${PROG} ${OBJS}
+
+ bsd:
+- ${CC} -D${MACRO} -c ${SRC}
++ ${CC} ${CFLAGS} -c ${SRC}
+ ${CC} -o ${PROG} ${OBJS}
+
+ clean: