mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 10:48:03 -04:00
27 lines
874 B
Plaintext
27 lines
874 B
Plaintext
$NetBSD: patch-ac,v 1.2 2011/05/22 19:11:42 dholland Exp $
|
|
|
|
diff -ur dpteng/makefile dpteng/makefile
|
|
--- odpteng/makefile Fri Aug 30 19:40:36 2002
|
|
+++ dpteng/makefile Fri Dec 6 09:55:31 2002
|
|
@@ -9,7 +9,10 @@
|
|
CPP_EXTENSION = .cpp
|
|
C_EXTENSION = .c
|
|
|
|
-CFLAGS= $(INCLUDE_DIR) -D__UNIX__ -DMESSAGES -D_DPT_ACTIVE_ALIGNMENT -DI_WANT_SNI_DEBUG -DNEW_LOGGER -c
|
|
+CFLAGS= $(INCLUDE_DIR) -Dunix -D__unix__ -D_DPT_FREE_BSD -D__UNIX__ -DMESSAGES \
|
|
+ -D_DPT_ACTIVE_ALIGNMENT -D_DPT_DEFINE_SEMUN -DI_WANT_SNI_DEBUG \
|
|
+ -DNEW_LOGGER -DDEFAULT_PATH=\"${PREFIX}/sbin\" \
|
|
+ -D_NBSD_LIBEXEC=\"${PREFIX}/sbin\" -c
|
|
|
|
SRCS = \
|
|
addr_rng.cpp \
|
|
@@ -105,7 +108,7 @@
|
|
rm -f *.o dpteng
|
|
|
|
depend :
|
|
- makedepend $(INCLUDE_DIR) -D_DPT_UNIX -D_DPT_LINUX -D__linux__ ${SRCS}
|
|
+ makedepend $(INCLUDE_DIR) -D_DPT_UNIX -D_DPT_FREE_BSD -D_DPT_DEFINE_SEMUN -D__unix__ -Dunix ${SRCS}
|
|
|
|
|
|
$(C_EXTENSION).o:
|