summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-10-20 18:05:10 +0000
committerjoerg <joerg@pkgsrc.org>2013-10-20 18:05:10 +0000
commitf672ac1116d74107ad1927d08ff5f7c4a15ea400 (patch)
treeb35e3e18f03adfb5624fc6877e66c1f708289167 /mail
parentabc957e971b97e31ea062f482d402678cfb7fccb (diff)
downloadpkgsrc-f672ac1116d74107ad1927d08ff5f7c4a15ea400.tar.gz
Fix hard coded /usr/pkg reference. Use -Wl prefix for rpath.
Diffstat (limited to 'mail')
-rw-r--r--mail/smtp-vilter/distinfo4
-rw-r--r--mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile13
2 files changed, 14 insertions, 3 deletions
diff --git a/mail/smtp-vilter/distinfo b/mail/smtp-vilter/distinfo
index 3368960b01d..92a11cdf5b5 100644
--- a/mail/smtp-vilter/distinfo
+++ b/mail/smtp-vilter/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2013/06/26 21:19:08 joerg Exp $
+$NetBSD: distinfo,v 1.3 2013/10/20 18:05:10 joerg Exp $
SHA1 (smtp-vilter-1.3.8.tgz) = 406b180cf4e66be5fc993733b0b7b4ffeec19eee
RMD160 (smtp-vilter-1.3.8.tgz) = 837c723e3824b274e3c5191c3df3589e4b4442db
Size (smtp-vilter-1.3.8.tgz) = 72565 bytes
-SHA1 (patch-bin_smtp-vilter_Makefile) = b11c85c61a65cd19ad57ae9c6744aaf842d17a78
+SHA1 (patch-bin_smtp-vilter_Makefile) = e7acedd1e733164e3806ca963e2748abbcf64065
diff --git a/mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile b/mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile
index 2a7424d1cd3..7e350e15f37 100644
--- a/mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile
+++ b/mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile
@@ -1,7 +1,18 @@
-$NetBSD: patch-bin_smtp-vilter_Makefile,v 1.1 2013/06/26 21:19:08 joerg Exp $
+$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