pkgsrc/net/driftnet/patches/patch-aa
salo ea7f23a651 Bump PKGREVISION.
- it doesn't really need gmake, fix the issue with Makefile instead
- add dependency on mpg123 which is the default tool used for playing
  MPEG audio streams
- style nits
2003-05-04 22:21:04 +00:00

21 lines
627 B
Text

$NetBSD: patch-aa,v 1.2 2003/05/04 22:21:05 salo Exp $
--- Makefile.orig 2002-07-09 21:26:41.000000000 +0200
+++ Makefile 2003-05-04 23:52:15.000000000 +0200
@@ -53,6 +53,7 @@
# On BSD systems, may need to use /usr/local/include
#CFLAGS += -I/usr/local/include
+CFLAGS += `${CAT} endianness 2>/dev/null || ${TRUE}`
#
# No user-serviceable parts below this point.
@@ -87,7 +88,7 @@
$(CC) $(CFLAGS) -o endian endian.c
%.o: %.c Makefile endianness
- $(CC) $(CFLAGS) `cat endianness` -c -o $@ $<
+ $(CC) $(CFLAGS) -c -o $@ $<
clean: nodepend
rm -f *~ *.bak *.o core $(BINS) TAGS driftnet.1 endian endianness