Use bsd.port.pre/post.mk, so Makefile.local does work.

PR:		50680
Submitted by:	Petr Rehor <rx@rx.cz>
This commit is contained in:
Dmitry Sivachenko 2003-04-29 15:38:06 +00:00
parent a2ce68bd45
commit 8d4648e255
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79879

View file

@ -23,6 +23,8 @@ USE_OPENSSL= yes
USE_BZIP2= yes
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_X11)
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg \
@ -39,4 +41,4 @@ pre-everything::
post-patch:
@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c
.include <bsd.port.mk>
.include <bsd.port.post.mk>