Imported from libpng-1.4.0beta10.tar
diff --git a/scripts/makefile.freebsd b/scripts/makefile.freebsd
index 7f2b66c..da5cf6d 100644
--- a/scripts/makefile.freebsd
+++ b/scripts/makefile.freebsd
@@ -24,7 +24,9 @@
 LDADD+=         -lm -lz
 DPADD+=         ${LIBM} ${LIBZ}
 
-pngconf.h.in:
+all: pngconf.h
+
+pngconf.h.in: pngconf.h
 	cat pngconf.h > pngconf.h.in
 
 pngconf.h:	pngconf.h.in