freebsd-ports/mail/popcheck/files/patch-Makefile
Pav Lucistnik 48c3b91e10 Add popcheck, a small curses based POP3 mailbox viewer.
PR:		ports/61961
Submitted by:	Radim Kolar <hsn@netmag.cz>
2004-01-26 18:41:09 +00:00

22 lines
479 B
Text

--- Makefile.orig Tue May 8 19:26:58 2001
+++ Makefile Sun Jan 25 22:08:08 2004
@@ -24,9 +24,9 @@
# Edit the options below to suit your needs
#
-CC = gcc
+CC?= gcc
-CFLAGS = -O2 -Wall -pipe
+CFLAGS?= -O2 -Wall -pipe
# Uncomment for Sparc Solaris
# LDFLAGS = -lcurses -lresolv -lnsl -lsocket
@@ -37,6 +37,7 @@
INSTPATH = /usr/local
$(PROG): $(PROG).o
+ $(CC) $(LDFLAGS) -o $(PROG) $(PROG).o
$(PROG).o: $(PROG).c
$(CC) $(CFLAGS) -c $(PROG).c -o $(PROG).o