Honor pkgsrc LDFLAGS; should fix openbsd build

This commit is contained in:
dholland 2015-11-08 23:24:58 +00:00
parent 79a592e75c
commit 10961fe372
2 changed files with 17 additions and 1 deletions

View file

@ -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

View file

@ -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)\"