freebsd-ports/mail/dma/files/patch-BSDMakefile
William Grzybowski fff82c442c mail/dma: update to 0.9
- Update to 0.9 [1]
- USE_GITHUB framework
- Remove useless LICENSE_FILE
- Trim Makefile header
- Mark IGNORE for 8.x

PR:		ports/182058
Submitted by:	bz (maintainer)
2013-09-16 13:44:26 +00:00

31 lines
877 B
Text

--- BSDmakefile.orig 2013-06-03 14:03:15.000000000 +0000
+++ BSDmakefile 2013-08-22 10:35:28.000000000 +0000
@@ -1,21 +1,13 @@
# $DragonFly: src/libexec/dma/Makefile,v 1.5 2008/09/19 00:36:57 corecode Exp $
#
-version!= sh get-version.sh
+version!= (cd .. && sh get-version.sh)
-CFLAGS+= -I${.CURDIR}
+CFLAGS+= -I${.CURDIR} -I${.CURDIR}/..
CFLAGS+= -DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME
CFLAGS+= -DLIBEXEC_PATH='"${LIBEXEC}"' -DDMA_VERSION='"${version}"'
CFLAGS+= -DCONF_PATH='"${CONFDIR}"'
-DPADD= ${LIBSSL} ${LIBCRYPTO}
-LDADD= -lssl -lcrypto
-
-PROG= dma
-SRCS= aliases_parse.y aliases_scan.l base64.c conf.c crypto.c
-SRCS+= dma.c dns.c local.c mail.c net.c spool.c util.c
-MAN= dma.8
-
PREFIX?= /usr/local
LIBEXEC?= ${PREFIX}/libexec
CONFDIR?= ${PREFIX}/etc/dma
@@ -25,4 +17,3 @@ BINGRP= mail
BINMODE=2555
WARNS?= 6
-.include <bsd.prog.mk>