aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-03-18 13:08:53 +0800
committerdinoex <dinoex@FreeBSD.org>2004-03-18 13:08:53 +0800
commit66558bf60c41ec01b76b93589cdab85587ff6f8a (patch)
tree828a74181ece81f618d0e11f6d47bb87dc62203b /mail
parent8825940164edddc7d9f55c4b86d7891279e2f8dc (diff)
downloadfreebsd-ports-gnome-66558bf60c41ec01b76b93589cdab85587ff6f8a.tar.gz
freebsd-ports-gnome-66558bf60c41ec01b76b93589cdab85587ff6f8a.tar.zst
freebsd-ports-gnome-66558bf60c41ec01b76b93589cdab85587ff6f8a.zip
- Fix use of CFDIR
PR: 64393
Diffstat (limited to 'mail')
-rw-r--r--mail/popa3d/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/popa3d/Makefile b/mail/popa3d/Makefile
index b7bef9d2341d..5a92a8d91d50 100644
--- a/mail/popa3d/Makefile
+++ b/mail/popa3d/Makefile
@@ -95,10 +95,12 @@ post-install:
@ ${CAT} ${PKGMESSAGE}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
-.if exists(${DESTDIR}/${LOCALBASE}/share/sendmail/cf/mailer/uucp.m4)
-CFDIR= ${DESTDIR}${LOCALBASE}/share/sendmail/cf
+.if exists(${LOCALBASE}/share/sendmail/cf/mailer/uucp.m4)
+CFDIR= ${LOCALBASE}/share/sendmail/cf
.else
-CFDIR= ${DESTDIR}/usr/share/sendmail/cf
+CFDIR= /usr/share/sendmail/cf
.endif
+
+.include <bsd.port.post.mk>