pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dumb: Use pkg-config for the correct linker flags



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat Apr 23 22:43:19 2016 +0200
Changeset:	da049862bb01e61f6068c95ad09214048051cb66

Modified Files:
	dumb/Makefile
	dumb/distinfo
	dumb/patches/patch-aa

Log Message:
dumb: Use pkg-config for the correct linker flags

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=da049862bb01e61f6068c95ad09214048051cb66

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 dumb/Makefile         |  2 +-
 dumb/distinfo         |  3 ++-
 dumb/patches/patch-aa | 10 ++++++----
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs:
diff --git a/dumb/Makefile b/dumb/Makefile
index 154ac19..69b0c7d 100644
--- a/dumb/Makefile
+++ b/dumb/Makefile
@@ -11,7 +11,7 @@ HOMEPAGE=		http://dumb.sourceforge.net/
 COMMENT=		IT, XM, S3M and MOD player library
 #LICENSE=		dumb-license
 
-USE_TOOLS+=		gmake
+USE_TOOLS+=		gmake pkg-config
 
 INSTALL_MAKE_FLAGS+=	PREFIX=${DESTDIR}${PREFIX}
 
diff --git a/dumb/distinfo b/dumb/distinfo
index 3a4612f..f329690 100644
--- a/dumb/distinfo
+++ b/dumb/distinfo
@@ -2,6 +2,7 @@ $NetBSD: distinfo,v 1.3 2008/05/29 18:43:10 tnn2 Exp $
 
 SHA1 (dumb-0.9.3.tar.gz) = 4764bd59f5895eb5035a5139454cef7a53a76bb8
 RMD160 (dumb-0.9.3.tar.gz) = 53c7931fec71dd4e67e19c4acf38c0f9202e5698
+SHA512 (dumb-0.9.3.tar.gz) = 9ecdea460858b7e6ad7ca2534ecb3581397e6c1fa904459affe19ce49f528e580e143b42b13413b292ae7b57901a8008e6a9ee3821824f6ff7914b136f75c658
 Size (dumb-0.9.3.tar.gz) = 167379 bytes
-SHA1 (patch-aa) = b6a6b4fe8f82c05d1baf13b90092e39ea81746aa
+SHA1 (patch-aa) = 07932792f225ef5cf28633a33e8274211c92ebcb
 SHA1 (patch-ad) = 6a373f1909a6d511ab24a2895b1710974dd4930e
diff --git a/dumb/patches/patch-aa b/dumb/patches/patch-aa
index f55be4a..65fe684 100644
--- a/dumb/patches/patch-aa
+++ b/dumb/patches/patch-aa
@@ -1,11 +1,13 @@
 $NetBSD: patch-aa,v 1.1.1.1 2003/07/18 03:00:10 bencollver Exp $
 
---- make/unix.inc.orig	Thu Apr  3 16:34:18 2003
+--- make/unix.inc.orig	2005-08-08 00:18:40.000000000 +0000
 +++ make/unix.inc
-@@ -16,5 +16,6 @@ EXE_SUFFIX :=
+@@ -16,6 +16,7 @@ MKDIR = mkdir $(1)
+ EXE_SUFFIX :=
  
  LINK_MATH := -lm
- LINK_ALLEGRO := `allegro-config --libs`
-+CFLAGS_ALLEGRO := `allegro-config --cflags`
+-LINK_ALLEGRO := `allegro-config --libs`
++LINK_ALLEGRO := `pkg-config --libs allegro`
++CFLAGS_ALLEGRO := `pkg-config --cflags allegro`
  
  # PREFIX is set by config.sh.


Home | Main Index | Thread Index | Old Index