$OpenBSD: patch-lib_expat_xmltok_Makefile,v 1.1 2018/05/11 19:15:53 sthen Exp $

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