Fix build with gcc 3.4 by excluding examples/ from port build.

Real fix is quite simple (we just need proper #include order) but since
examples are not installed anyway just axe them completely.
This commit is contained in:
Alexander Nedotsukov 2004-08-02 09:13:08 +00:00
parent c284e57ef9
commit ee41da1092
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115248

View File

@ -26,4 +26,8 @@ USE_INC_LIBTOOL_VER= 13
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --enable-static
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>