openbsd-ports/net/mrtg/patches/patch-configure_in
2011-03-02 08:36:28 +00:00

40 lines
999 B
Plaintext

$OpenBSD: patch-configure_in,v 1.5 2011/03/02 08:36:28 sthen Exp $
--- configure.in.orig Mon Jan 10 07:00:47 2011
+++ configure.in Fri Feb 18 18:15:39 2011
@@ -114,6 +114,11 @@ AC_CHECK_LIB(gd,gdImagePng,[
GLIBS="-lgd -lpng -lz"
],:,[-lgd -lpng -lz ${MATHLIBS}])
+AC_CHECK_LIB(gd,gdImageStringTTF,[
+ GDFORM_EXT=png
+ GLIBS="-lgd -lpng -lz -ljpeg"
+ ],:,[-lgd -lpng -lz -ljpeg ${MATHLIBS}])
+
AC_CHECK_LIB(gd,gdImagePng_jpg,[
GDFORM_EXT=png
GLIBS="-lgd -lpng -lz -ljpeg"
@@ -198,17 +203,17 @@ AC_OUTPUT(Makefile)
echo $ECHO_N "ordering CD from http://tobi.oetiker.ch/wish $ECHO_C" 1>&6
-sleep 1
+#sleep 1
echo $ECHO_N ".$ECHO_C" 1>&6
-sleep 1
+#sleep 1
echo $ECHO_N ".$ECHO_C" 1>&6
-sleep 1
+#sleep 1
echo $ECHO_N ".$ECHO_C" 1>&6
-sleep 1
+#sleep 1
echo $ECHO_N ".$ECHO_C" 1>&6
-sleep 1
+#sleep 1
AC_MSG_RESULT([ just kidding ;-)])
-sleep 2
+#sleep 2
echo
echo "----------------------------------------------------------------"
echo "Config is DONE!"