summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>2002-08-12 00:36:24 +0000
committermax <max@FreeBSD.org>2002-08-12 00:36:24 +0000
commit61807fcad9ea6eaf9c476e9ec04c36b4385c0867 (patch)
tree1ba9f5be24b5ef18c206659fcf9a59d7fe44fbd0 /mail
parentd1bc94f6c836d17252aa0c2e98d93e9c2cb4932b (diff)
downloadFreeBSD-ports-61807fcad9ea6eaf9c476e9ec04c36b4385c0867.zip
FreeBSD-ports-61807fcad9ea6eaf9c476e9ec04c36b4385c0867.tar.gz
Adjust the CONFIG_ARGS so that
1. AN option which is no longer used won't be passed to the configure script. 2. ${CFLAGS} is respected when compiling any programs within the port. Remove an unnecessary ${MKDIR} line. Submitted by: Alex Kapranoff <kapr@acm.org>
Diffstat (limited to 'mail')
-rw-r--r--mail/mailagent/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/mailagent/Makefile b/mail/mailagent/Makefile
index 6c8aee8..0508e9d 100644
--- a/mail/mailagent/Makefile
+++ b/mail/mailagent/Makefile
@@ -19,10 +19,11 @@ IS_INTERACTIVE= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
CONFIGURE_ARGS= -dres \
- -Dperlpath='${PERL5}' \
+ -Dperlpath='${PERL}' \
+ -Dccflags='${CFLAGS}' \
+ -Dd_flockonly='define' \
-Dutmp='/var/run/utmp' \
- -Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1' \
- -Dnotifypatches='false'
+ -Dprefix='${PREFIX}' -Dmansrc='${PREFIX}/man/man1'
MAKE_ENV= PATH=`dirname ${PERL5}`:${PATH}
INSTALL_TARGET= install install.man
@@ -51,7 +52,6 @@ post-patch:
misc/news/newsgate)
post-install:
- @${MKDIR} ${PREFIX}/share/examples/mailagent
@${MKDIR} ${PREFIX}/share/examples/mailagent/misc
${CP} -pR ${WRKSRC}/misc/* ${PREFIX}/share/examples/mailagent/misc
@${LN} -fs ${PREFIX}/lib/mailagent/examples ${PREFIX}/share/examples/mailagent/agent
OpenPOWER on IntegriCloud