summaryrefslogtreecommitdiff
path: root/mail/p3scan/files/patch-Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 21:25:59 +0000
commit8003ba152f15aa82aaadd76fcd6b669cc0cc9981 (patch)
tree7842527232644d8f0fc76639a38e9596a910d381 /mail/p3scan/files/patch-Makefile
parentConvert to USES=libtool and add INSTALL_TARGET=install-strip (diff)
Remove non staged ports without pending PR from ma*
Notes
Notes: svn path=/head/; revision=366959
Diffstat (limited to 'mail/p3scan/files/patch-Makefile')
-rw-r--r--mail/p3scan/files/patch-Makefile58
1 files changed, 0 insertions, 58 deletions
diff --git a/mail/p3scan/files/patch-Makefile b/mail/p3scan/files/patch-Makefile
deleted file mode 100644
index 9ed27b79ef4c..000000000000
--- a/mail/p3scan/files/patch-Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
---- Makefile.orig Mon Dec 12 18:00:00 2005
-+++ Makefile Mon May 1 11:07:46 2006
-@@ -39,27 +39,27 @@
- LOGFAC="LOG_DAEMON"
- LOGSET=-DLOGOPT=${LOGOPT} -DLOGFAC=${LOGFAC}
- LANG=en
--CC=gcc
-+CC?=gcc
- SYSINS=install
- #CFLAGS=-Wall -O3 -march=i686 ${LOGSET}
--CFLAGS=-Wall -O2 $(LOGSET)
-+CFLAGS=-Wall -O2 $(LOGSET) -I${PREFIX}/include -I/usr/local/include
-
- #ifdef DEMIME :)
--LDFLAGS=-L. -lripmime -lpcre -lssl -lcrypto #-static
-+LDFLAGS=-L. -lripmime -lpcre -lssl -lcrypto ${_LDFLAGS} #-static
- #else
- #LDFLAGS=-L. -lpcre -lssl -lcrypto
- #endif :)
-
--PREFIX=/usr
-+PREFIX=/usr/local
- DESTDIR=
- #MANDIR=$(PREFIX)/share/man/man8
--MANDIR=$(PREFIX)/man/man8
-+MANDIR?=$(PREFIX)/man/man8
- piddir=/var/run/$(PROGS)
- datadir=/var/spool/$(PROGS)
- notify=/var/spool/$(PROGS)/notify
--userdir=/etc/$(PROGS)
--docdir=/usr/doc/$(DISTNAME)
--user=mail:mail
-+userdir=$(PREFIX)/etc/$(PROGS)
-+docdir=$(PREFIX)/share/doc/$(DISTNAME)
-+user=mailnull:mail
- # End user options
-
- OBJECTS=getlinep3.o getline_ssl.o parsefile.o p3scan.o \
-@@ -85,7 +85,7 @@
- dep depend .dep:
- @echo "creating depencies"
- rm -f .tmp.dep
-- @find -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0rt $(CC) -M $(CFLAGS) >>.tmp.dep
-+ @find . -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0rt $(CC) -M $(CFLAGS) >>.tmp.dep
- mv .tmp.dep .dep
-
- install: p3scan
-@@ -163,8 +163,8 @@
-
- fulltags:
- @#VIM Users know why! *g*
-- find -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0r $(CC) -M -H $(CFLAGS) 2>.totag >/dev/null
-- find -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0r echo >>.totag
-+ find . -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0r $(CC) -M -H $(CFLAGS) 2>.totag >/dev/null
-+ find . -maxdepth 1 -name "*.c" -print0 | xargs -n 1 -0r echo >>.totag
- cat .totag | sed "s/^[[:space:]]*//" | grep -v "^$(CC)" | sort | uniq >.totag
- ctags --c-types=+c+p+f+x -L .totag .
- rm -f .totag