diff options
author | dholland <dholland@pkgsrc.org> | 2012-06-18 04:24:07 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-06-18 04:24:07 +0000 |
commit | a843f35e048c8dc305c469025a7ca8ac064240ff (patch) | |
tree | 81e18bc25e6c58a7c7276069001503e01e89d7e3 /games/sudoku-cli | |
parent | 8173d6e2523b2137eed835c28f90e6e5a758df6c (diff) | |
download | pkgsrc-a843f35e048c8dc305c469025a7ca8ac064240ff.tar.gz |
Honor pkgsrc LDFLAGS to get rpaths set; this should fix the Linux build.
Diffstat (limited to 'games/sudoku-cli')
-rw-r--r-- | games/sudoku-cli/distinfo | 4 | ||||
-rw-r--r-- | games/sudoku-cli/patches/patch-aa | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/games/sudoku-cli/distinfo b/games/sudoku-cli/distinfo index c91010c478e..5efb5d454ff 100644 --- a/games/sudoku-cli/distinfo +++ b/games/sudoku-cli/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/05/19 01:10:17 heinz Exp $ +$NetBSD: distinfo,v 1.2 2012/06/18 04:24:07 dholland Exp $ SHA1 (sudoku-1.0.1.tgz) = ee5f8e392bd5fda758f982a793576ff9d24a15fd RMD160 (sudoku-1.0.1.tgz) = 77ddc4069c4736fda0285936ae9ecde47f9d46f8 Size (sudoku-1.0.1.tgz) = 31576 bytes -SHA1 (patch-aa) = 2bd5169bb9901ca54573cd2aecde46b582344692 +SHA1 (patch-aa) = e5cf1e5f0a90c3beaf4888cef0300b0d12f8bdbb SHA1 (patch-ab) = 7e6a6d63cb3367e21d49ce7e2db613dd439b7197 diff --git a/games/sudoku-cli/patches/patch-aa b/games/sudoku-cli/patches/patch-aa index 518fe743df5..972da39938d 100644 --- a/games/sudoku-cli/patches/patch-aa +++ b/games/sudoku-cli/patches/patch-aa @@ -1,8 +1,12 @@ -$NetBSD: patch-aa,v 1.1.1.1 2007/05/19 01:10:17 heinz Exp $ +$NetBSD: patch-aa,v 1.2 2012/06/18 04:24:07 dholland Exp $ ---- Makefile.orig 2005-07-25 03:13:53.000000000 +0200 +- configure for pkgsrc (XXX: could be done more tidily) +- honor pkgsrc's LDFLAGS and LIBS +- DESTDIR support + +--- Makefile.orig 2005-07-25 01:13:53.000000000 +0000 +++ Makefile -@@ -7,6 +7,16 @@ +@@ -7,11 +7,21 @@ OWN=-o bin GRP=-g operator @@ -19,6 +23,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2007/05/19 01:10:17 heinz Exp $ # Minix requires compilation flags for a clean compile sudoku: sudoku.c if [ -x /usr/bin/uname -a `/usr/bin/uname` = Minix ] ; then \ + DEFS="-D_MINIX -D_POSIX_SOURCE" ; fi ; \ +- $(CC) -o sudoku $$DEFS sudoku.c -lcurses ++ $(CC) $(LDFLAGS) -o sudoku $$DEFS sudoku.c -lcurses $(LIBS) + + clean: + rm -f sudoku @@ -19,16 +29,16 @@ clean: # Simple support for alternate systems install: sudoku sudoku.6 |