How to install Citrus XPG4DL i18n module (for OpenBSD) 1. update source tree via cvs % cd ${BSDSRCDIR} % cvs update -dP -D yyyymmdd 2. apply the patch (you need to install ports/archivers/bzip2) % bzcat HEAD-xpg4dl-yyyymmdd.tar.bz2 | tar xf - % patch -p2 -E -l -d ${BSDSRCDIR} < xpg4dl.patch % patch -p2 -E -l -d ${BSDSRCDIR} < rename.patch 3. update /usr/share/mk/bsd.*.mk files % cd ${BSDSRCDIR}/share/mk % sudo make install 4. run make includes (update /usr/include/* files) % cd ${BSDSRCDIR} % sudo make includes 5. run make beforeinstall (fix hier) % cd ${BSDSRCDIR} % sudo make beforeinstall 6. update /usr/lib/libc.* % cd ${BSDSRCDIR}/lib/libc && make depend all % sudo cp /usr/lib/libc.so.${major}.${minor} \ > /usr/lib/libc.so.${major}.${minor}.orig % sudo make install 7. install /usr/bin/mklocale % cd ${BSDSRCDIR}/usr.bin/mklocale && make depend all % sudo make install 8. update /usr/libexec/lint{1,2} and /usr/bin/lint % cd ${BSDSRCDIR}/usr.bin/xlint/lint1 && make depend all % sudo make install % cd ../lint2 && make depend all % sudo make install % cd ../xlint && make depend all % sudo make install % cd ../llib && make depend all % sudo make install 9. rebuild entire systems % cd ${BSDSRCDIR} % sudo make build that's all, have fun.