pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/generate Allow package to build under QNX.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/189b10cd2c63
branches:  trunk
changeset: 551541:189b10cd2c63
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Wed Dec 17 15:44:10 2008 +0000

description:
Allow package to build under QNX.
No PKGVERSION bump as no working ports were affected.

diffstat:

 devel/generate/Makefile         |   4 +++-
 devel/generate/distinfo         |   3 ++-
 devel/generate/patches/patch-aa |  13 +++++++++++++
 3 files changed, 18 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 14605eb15b52 -r 189b10cd2c63 devel/generate/Makefile
--- a/devel/generate/Makefile   Wed Dec 17 15:43:01 2008 +0000
+++ b/devel/generate/Makefile   Wed Dec 17 15:44:10 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/11/17 21:20:45 darcy Exp $
+# $NetBSD: Makefile,v 1.13 2008/12/17 15:44:10 darcy Exp $
 #
 
 DISTNAME=      generate-2.6
@@ -13,5 +13,7 @@
 MAKE_ENV+=     ${BSD_MAKE_ENV} LIBS=${LIBS:Q}
 USE_TOOLS+=    gmake
 LIBS.SunOS=    -lsocket -lnsl
+LIBS.QNX=      -lsocket
+CFLAGS.QNX=    -U__STRICT_ANSI__
 
 .include "../../mk/bsd.pkg.mk"
diff -r 14605eb15b52 -r 189b10cd2c63 devel/generate/distinfo
--- a/devel/generate/distinfo   Wed Dec 17 15:43:01 2008 +0000
+++ b/devel/generate/distinfo   Wed Dec 17 15:44:10 2008 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2008/11/17 21:20:45 darcy Exp $
+$NetBSD: distinfo,v 1.14 2008/12/17 15:44:10 darcy Exp $
 
 SHA1 (generate-2.6.tgz) = ab97858005c03531d8d8cc57328ffcf4b8e42aec
 RMD160 (generate-2.6.tgz) = e996dd4dbf553ed3467d01907686d2cc09936db2
 Size (generate-2.6.tgz) = 29045 bytes
+SHA1 (patch-aa) = ebf04f1ef188c328ada4c6993b31cb67565bc520
diff -r 14605eb15b52 -r 189b10cd2c63 devel/generate/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/generate/patches/patch-aa   Wed Dec 17 15:44:10 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.8 2008/12/17 15:44:10 darcy Exp $
+
+--- Makefile.orig      2008-11-17 16:12:39.000000000 -0500
++++ Makefile
+@@ -9,7 +9,7 @@ VERSION_MAJOR =        2
+ VERSION_MINOR = 6
+ PACKAGE_NAME =        generate-${VERSION_MAJOR}.${VERSION_MINOR}
+ 
+-CFLAGS =      -O2 -ansi -pipe -Wall -Wshadow -Wpointer-arith \
++CFLAGS +=     -O2 -ansi -pipe -Wall -Wshadow -Wpointer-arith \
+                       -Wwrite-strings -Wstrict-prototypes \
+                       -Wformat -Wmissing-prototypes -funsigned-char \
+                       -I/usr/local/include -L/usr/local/lib \



Home | Main Index | Thread Index | Old Index