1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/security/smtpmap/files/patch-src::makefile
Yen-Ming Lee d959c237da - fix building problem and unbreak this port
- remove redundant declaration in makefile.conf and use MAKE_ENV directly
- utilize DATADIR in pkg-plist

Noticed by:	kris
2004-10-24 03:09:51 +00:00

17 lines
704 B
Plaintext

--- src/makefile.orig Wed Aug 14 22:12:02 2002
+++ src/makefile Sun Oct 24 10:39:46 2004
@@ -5,11 +5,11 @@
include $(TOPDIR)/makefile.conf
all smtpmap-sub: small_socket.o mstring.o mfile.o scanner_smtp.o smtpmap.o fp_return.o fp_rfc.o fp.o fp_conf.o scanner_server.o
- $(CC) $(CFLAGS) $(INC) small_socket.o mstring.o mfile.o scanner_smtp.o fp_return.o fp_rfc.o fp.o fp_conf.o scanner_server.o smtpmap.o -o smtpmap
+ $(CC) $(CFLAGS) $(LDFLAGS) $(INC) small_socket.o mstring.o mfile.o scanner_smtp.o fp_return.o fp_rfc.o fp.o fp_conf.o scanner_server.o smtpmap.o -o smtpmap
%.o:%.cpp
- $(CC) $(CFLAGS) $(INC) -c $*.cpp
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(INC) -c $*.cpp
clean::
@echo Cleaning up