pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mbone/mdd - Honor CFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c2ce25cc0994
branches:  trunk
changeset: 486348:c2ce25cc0994
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Dec 27 01:00:28 2004 +0000

description:
- Honor CFLAGS.
- Do not run mkdep, which is unnecessary in package buildling.

diffstat:

 mbone/mdd/distinfo         |   3 ++-
 mbone/mdd/patches/patch-aa |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 675d1a94615f -r c2ce25cc0994 mbone/mdd/distinfo
--- a/mbone/mdd/distinfo        Sun Dec 26 23:58:05 2004 +0000
+++ b/mbone/mdd/distinfo        Mon Dec 27 01:00:28 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/12/24 16:51:33 manu Exp $
+$NetBSD: distinfo,v 1.2 2004/12/27 01:00:28 minskim Exp $
 
 SHA1 (mdd-20041224.tgz) = 2d66bdea10779a80e5b5eb0be325a18035dbbdd5
 Size (mdd-20041224.tgz) = 6993 bytes
+SHA1 (patch-aa) = 50adeddaa2757106e74e9e043b44e86b10ae5d21
diff -r 675d1a94615f -r c2ce25cc0994 mbone/mdd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mbone/mdd/patches/patch-aa        Mon Dec 27 01:00:28 2004 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2004/12/27 01:00:28 minskim Exp $
+
+--- Makefile.orig      2004-12-24 10:46:49.000000000 -0600
++++ Makefile
+@@ -1,12 +1,11 @@
+ 
+-CFLAGS= -Werror -Wall -ansi
+ SRC=  mdd.c sender.c receiver.c sniffer.c
+ OBJ=  mdd.o sender.o receiver.o sniffer.o
+ 
+-all:  depend mdd
++all:  mdd
+ 
+ mdd:  ${OBJ}
+-      ${CC} -static -o $@ ${OBJ}
++      ${CC} ${CFLAGS} -static -o $@ ${OBJ}
+ 
+ depend:
+       mkdep ${CFLAGS} ${SRC}



Home | Main Index | Thread Index | Old Index