pkgsrc/sysutils/sredird/patches/patch-Makefile
wiedi 083bc1c893 Fix build on SunOS:
- link network libs
 - patch Makefile to pass LDFLAGS
 - inclde sys/filio.h for FIONBIO
 - patch cfmakeraw usage
2014-02-16 15:45:52 +00:00

11 lines
319 B
Text

$NetBSD: patch-Makefile,v 1.1 2014/02/16 15:45:52 wiedi Exp $
add LDFLAGS
--- Makefile.orig 2014-02-15 23:37:24.214914997 +0000
+++ Makefile
@@ -7,4 +7,4 @@ CFLAGS=-O3 -m486 -pipe -fomit-frame-poin
SRC=sredird.c
sredird: sredird.c
- $(CC) $(CFLAGS) -o sredird $(SRC)
+ $(CC) $(CFLAGS) -o sredird $(SRC) $(LDFLAGS)