23 lines
740 B
Text
23 lines
740 B
Text
$NetBSD: patch-bin_smtp-vilter_Makefile,v 1.2 2013/10/20 18:05:10 joerg Exp $
|
|
|
|
--- bin/smtp-vilter/Makefile.orig 2013-06-26 21:06:08.000000000 +0000
|
|
+++ bin/smtp-vilter/Makefile
|
|
@@ -7,8 +7,8 @@ OS!= uname -s
|
|
CFLAGS+= -pthread -Wall -I{.CURDIR} -I${.CURDIR}/../../include
|
|
|
|
.if ${OS} == "NetBSD"
|
|
-CFLAGS+= -I/usr/pkg/include -DYY_NO_INPUT
|
|
-LDADD+= -R/usr/pkg/lib -L/usr/pkg/lib
|
|
+CFLAGS+= -I${PREFIX}/include -DYY_NO_INPUT
|
|
+LDADD+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib
|
|
CLEANFILES+= parse.h
|
|
.else
|
|
CFLAGS+= -I/usr/src/gnu/usr.sbin/sendmail/include
|
|
@@ -23,7 +23,6 @@ CLEANFILES+= y.tab.h rt-dynamic
|
|
|
|
MAN= smtp-vilter.8 smtp-vilter.conf.5
|
|
|
|
-BINOWN = root
|
|
BINMOD = 0555
|
|
.if ${OS} == "NetBSD"
|
|
BINDIR= /usr/pkg/sbin
|