From 21a084dd7ef82062baf488dee3edcd2bc2391d8d Mon Sep 17 00:00:00 2001 From: naddy Date: Sun, 7 Dec 2003 23:15:19 +0000 Subject: [PATCH] fix install after DESTDIR change in perl 5.8.2 --- mail/p5-Mail-SpamAssassin/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/mail/p5-Mail-SpamAssassin/Makefile b/mail/p5-Mail-SpamAssassin/Makefile index c4ea17d984d..a2bec944595 100644 --- a/mail/p5-Mail-SpamAssassin/Makefile +++ b/mail/p5-Mail-SpamAssassin/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.25 2003/08/07 07:51:20 jolan Exp $ +# $OpenBSD: Makefile,v 1.26 2003/12/07 23:15:19 naddy Exp $ COMMENT= "mailfilter to identify and mark spam" @@ -21,11 +21,15 @@ RUN_DEPENDS= :p5-Net-DNS-*:net/p5-Net-DNS \ :p5-HTML-Parser-*:www/p5-HTML-Parser CONFIGURE_STYLE= perl -CONFIGURE_ARGS+= RUN_RAZOR1_TESTS=n RUN_RAZOR2_TESTS=n +CONFIGURE_ARGS= RUN_RAZOR1_TESTS=n RUN_RAZOR2_TESTS=n SAMPLE_CONFIG_DIR= ${PREFIX}/share/examples/SpamAssassin CONFIG_DIR= ${SYSCONFDIR}/mail/spamassassin -INSTALL_TARGET= PKG_LOCAL_RULES_DIR=${WRKINST}${SAMPLE_CONFIG_DIR} install +RULES_DIR= ${PREFIX}/share/spamassassin + +FAKE_FLAGS= ${DESTDIRNAME}=${WRKINST} \ + PKG_DEF_RULES_DIR=${WRKINST}${RULES_DIR} \ + PKG_LOCAL_RULES_DIR=${WRKINST}${SAMPLE_CONFIG_DIR} # regress insists on creating files in $HOME PORTHOME= ${WRKDIR}/temp-home