diff options
author | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-10-24 03:09:51 +0000 |
---|---|---|
committer | Yen-Ming Lee <leeym@FreeBSD.org> | 2004-10-24 03:09:51 +0000 |
commit | d959c237da507161a9bc892923e58708506c8c01 (patch) | |
tree | 55a4b08b39fc14cedb384d83e256e71ecd3d2b6d /security/smtpmap/files | |
parent | 667c8927db21fd5ce76c2c13c7b9f7fc275b3eb3 (diff) |
Notes
Diffstat (limited to 'security/smtpmap/files')
-rw-r--r-- | security/smtpmap/files/patch-makefile.conf | 10 | ||||
-rw-r--r-- | security/smtpmap/files/patch-src::makefile | 16 |
2 files changed, 21 insertions, 5 deletions
diff --git a/security/smtpmap/files/patch-makefile.conf b/security/smtpmap/files/patch-makefile.conf index ce4e0b7d5d30..8a81166b4a97 100644 --- a/security/smtpmap/files/patch-makefile.conf +++ b/security/smtpmap/files/patch-makefile.conf @@ -1,15 +1,15 @@ --- makefile.conf.orig Thu Oct 31 23:37:00 2002 +++ makefile.conf Tue Jun 17 01:20:41 2003 -@@ -4,9 +4,8 @@ +@@ -4,9 +4,6 @@ # Internal Configuration, do not touch TMPDIR=.smtpmap-$(VERSION) - CC=g++ +-CC=g++ -#CFLAGS=-O -Wall -pg -g -D_PREFIX=\"$(PREFIX)\" - CFLAGS=-O -Wall -g3 -D_PREFIX=\"$(PREFIX)\" +-CFLAGS=-O -Wall -g3 -D_PREFIX=\"$(PREFIX)\" -INC=-I ../include -LIBS= ++CC=$(CXX) ++CFLAGS+=-D_PREFIX=\"$(PREFIX)\" +INC+=-I../include -I/usr/include DEPFLAG=-M $(INC) -PREFIX=/usr -+PREFIX=%%PREFIX%% -+LOCALBASE=%%LOCALBASE%% diff --git a/security/smtpmap/files/patch-src::makefile b/security/smtpmap/files/patch-src::makefile new file mode 100644 index 000000000000..0052fdb716ec --- /dev/null +++ b/security/smtpmap/files/patch-src::makefile @@ -0,0 +1,16 @@ +--- 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 |