From 61807fcad9ea6eaf9c476e9ec04c36b4385c0867 Mon Sep 17 00:00:00 2001 From: max Date: Mon, 12 Aug 2002 00:36:24 +0000 Subject: 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 --- mail/mailagent/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mail') 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 -- cgit v1.1