Get rid of warnings from <values.h>

Submitted by:	Alan E <ports@geeksrus.net>
Approved by:	will
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2002-05-14 16:35:40 +00:00
parent dd438e78de
commit 316bfc50ea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59088
3 changed files with 24 additions and 0 deletions

View file

@ -34,6 +34,14 @@ MAKE_ENV= ${CONFIGURE_ENV}
# spurious, but i don't care
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e 's@values\.h@limits.h@' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.h \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.h
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "In order to run the kscd program properly, please run as root:"

View file

@ -34,6 +34,14 @@ MAKE_ENV= ${CONFIGURE_ENV}
# spurious, but i don't care
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e 's@values\.h@limits.h@' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.h \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.h
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "In order to run the kscd program properly, please run as root:"

View file

@ -34,6 +34,14 @@ MAKE_ENV= ${CONFIGURE_ENV}
# spurious, but i don't care
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e 's@values\.h@limits.h@' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.h \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.h
@${PERL} -pi -e 's@\bMAXINT\b@INT_MAX@g' \
${WRKSRC}/mpeglib/lib/util/render/x11/x11Surface.cpp \
${WRKSRC}/mpeglib/lib/util/render/x11/imageDeskX11.cpp
post-install:
@${ECHO_MSG}
@${ECHO_MSG} "In order to run the kscd program properly, please run as root:"