diff options
author | joerg <joerg> | 2013-10-20 18:05:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-10-20 18:05:10 +0000 |
commit | 8440aab7484a5f5c8cc44fd3bb4aaee74b32f046 (patch) | |
tree | b35e3e18f03adfb5624fc6877e66c1f708289167 /mail/smtp-vilter | |
parent | 4bab9ccb8800c7335bad62cf5ba238ec50fd94f5 (diff) | |
download | pkgsrc-8440aab7484a5f5c8cc44fd3bb4aaee74b32f046.tar.gz |
Fix hard coded /usr/pkg reference. Use -Wl prefix for rpath.
Diffstat (limited to 'mail/smtp-vilter')
-rw-r--r-- | mail/smtp-vilter/distinfo | 4 | ||||
-rw-r--r-- | mail/smtp-vilter/patches/patch-bin_smtp-vilter_Makefile | 13 |
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 |