audio/zinf port error
Alexey Neyman
alex.neyman at auriga.ru
Tue Jul 1 01:28:42 PDT 2003
Hi, there!
[Please Cc: me in replies, I'm not subscribed to ports@]
Trying to do "make clean -DNOCLEANDEPENDS" on a rather old machine, I got the
following error:
"Makefile", line 70: UPGRADE print/freetype TO CURRENT VERSION!
The offending lines are:
.if exists(${LOCALBASE}/include/freetype/freetype.h)
.error UPGRADE print/freetype TO CURRENT VERSION!
.endif
I guess this is not nice: I never used this port, but this prevents all
operations over the ports/ hierarchy as a whole. I guess this should go to
the pre-everything target instead of being .error. Patch attached.
The author of this change Cc'ed.
Regards,
Alexey.
--
A quoi ca sert d'etre sur la terre
Si c'est pour faire nos vies a genoux?
-------------- next part --------------
--- Makefile.orig Tue Jul 1 12:27:45 2003
+++ Makefile Tue Jul 1 12:33:21 2003
@@ -64,13 +64,11 @@
PLIST_SUB+= VORBIS="@comment "
.endif
-# Stop a flood of complaints and PRs from people who can't be bothered
-# to keep their ports and packages up to date.
-.if exists(${LOCALBASE}/include/freetype/freetype.h)
-.error UPGRADE print/freetype TO CURRENT VERSION!
-.endif
-
pre-everything::
+ # Stop a flood of complaints and PRs from people who can't be bothered
+ # to keep their ports and packages up to date.
+ @${TEST} -f ${LOCALBASE}/include/freetype/freetype.h && \
+ { ${ECHO_MSG} 'UPGRADE print/freetype TO CURRENT VERSION!'; exit 1; }
@${ECHO_MSG}
@${ECHO_MSG} "You may use the following build options:"
@${ECHO_MSG}
More information about the freebsd-ports
mailing list