From 10961fe372563a46d3101ea8eb031886e4a12f6c Mon Sep 17 00:00:00 2001 From: dholland Date: Sun, 8 Nov 2015 23:24:58 +0000 Subject: [PATCH] Honor pkgsrc LDFLAGS; should fix openbsd build --- print/rlpr/distinfo | 3 ++- print/rlpr/patches/patch-src_Makefile.in | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 print/rlpr/patches/patch-src_Makefile.in diff --git a/print/rlpr/distinfo b/print/rlpr/distinfo index b74c443817be..70d28c0f9360 100644 --- a/print/rlpr/distinfo +++ b/print/rlpr/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.4 2015/11/04 01:01:39 agc Exp $ +$NetBSD: distinfo,v 1.5 2015/11/08 23:24:58 dholland Exp $ SHA1 (rlpr-2.06.tar.gz) = 3b14ca164033d529eb8fd6e781301ac93cdf00fd RMD160 (rlpr-2.06.tar.gz) = 8713776810a2df48010538debc45733e7b70367f SHA512 (rlpr-2.06.tar.gz) = f4a9d85f4dd1d5944a3330e573f72946d24fe0e3dd0766914da842658c85e22e10625bd15cad5dc7cf8ae0897c5d2e453faf1bd69576541cc3dd3b252229b1eb Size (rlpr-2.06.tar.gz) = 272200 bytes SHA1 (patch-aa) = 988226f29c6f5cff7a5cd258cd74ae994d477de0 +SHA1 (patch-src_Makefile.in) = e06cd0a22cdb568dca1f2aed48712a8863e1fcb4 diff --git a/print/rlpr/patches/patch-src_Makefile.in b/print/rlpr/patches/patch-src_Makefile.in new file mode 100644 index 000000000000..971a10107068 --- /dev/null +++ b/print/rlpr/patches/patch-src_Makefile.in @@ -0,0 +1,15 @@ +$NetBSD: patch-src_Makefile.in,v 1.1 2015/11/08 23:24:58 dholland Exp $ + +Honor pkgsrc LDFLAGS. + +--- src/Makefile.in~ 2004-09-07 06:19:05.000000000 +0000 ++++ src/Makefile.in +@@ -119,7 +119,7 @@ am__quote = @am__quote@ + install_sh = @install_sh@ + + localedir = $(datadir)/locale +-LDFLAGS = -L../lib ++LDFLAGS += -L../lib + LDADD = @INTLLIBS@ ../lib/librlpr.a + INCLUDES = -I$(top_srcdir)/intl -I$(top_srcdir)/lib \ + -DLOCALEDIR=\"$(localedir)\"