libdevmapper/liblvm: Add SHLIB_MAJOR so we get the .so too.
authorSascha Wildner <saw@online.de>
Tue, 13 Jul 2010 12:33:09 +0000 (14:33 +0200)
committerSascha Wildner <saw@online.de>
Tue, 13 Jul 2010 12:33:09 +0000 (14:33 +0200)
gnu/lib/libdevmapper/Makefile
gnu/lib/liblvm/Makefile

index d041062..bc1cd33 100644 (file)
@@ -2,15 +2,16 @@
 
 LVM2_DIR=      ${.CURDIR}/../../../contrib/lvm2
 
-LIBDM_SRCDIR=  ${LVM2_DIR}/lib/libdevmapper
 LIBDM_DISTDIR= ${LVM2_DIR}/dist/libdm
 LVM2_DISTDIR=  ${LVM2_DIR}/dist
+
 LIB=           devmapper
+SHLIB_MAJOR?=  0
 
 CFLAGS+=       -D_XOPEN_SOURCE=600
 CFLAGS+=       -I${LIBDM_DISTDIR} -I${LIBDM_DISTDIR}/misc -I${LIBDM_DISTDIR}/mm \
                -I${LIBDM_DISTDIR}/datastruct -I${LIBDM_DISTDIR}/ioctl \
-               -I${LVM2_DISTDIR}/include -I${LIBDM_SRCDIR} \
+               -I${LVM2_DISTDIR}/include \
                -I${.CURDIR}/../../../sys/dev/disk/dm
 
 
index 61407d3..3bf8a8b 100644 (file)
@@ -3,6 +3,7 @@
 LVM2_DIR=      ${.CURDIR}/../../../contrib/lvm2
 
 LIB=           lvm
+SHLIB_MAJOR?=  0
 
 LVM2_DISTDIR=  ${LVM2_DIR}/dist