Index: lib/expat/xmlparse/Makefile
--- lib/expat/xmlparse/Makefile.orig
+++ lib/expat/xmlparse/Makefile
@@ -34,7 +34,7 @@ SHARED_LIBS_TO_INSTALL := libxmlrpc_xmlparse
 TARGET_MODS = xmlparse
 
 OMIT_XMLPARSE_LIB_RULE=Y
-MAJ=3
+MAJ=$(LIB_MAJ)
   # Major number of shared libraries in this directory
 
 include $(SRCDIR)/common.mk
