Imported from libpng-1.4.0beta25.tar
diff --git a/scripts/makefile.freebsd b/scripts/makefile.freebsd
index 5fb77aa..34f95f7 100644
--- a/scripts/makefile.freebsd
+++ b/scripts/makefile.freebsd
@@ -3,7 +3,7 @@
 # For conditions of distribution and use, see copyright notice in png.h
 
 PREFIX?=        /usr/local
-SHLIB_VER?=     1
+SHLIB_VER?=     %SONUM%
 
 LIB=		png
 SHLIB_MAJOR=	${SHLIB_VER}