# $NetBSD: convenience.mk,v 1.5 2004/12/24 23:44:30 tv Exp $ # # Override "libltdlc.la" -- the libltdl "convenience" library embedded into # programs that ship with libltdl. Also override packages attempting to # build and install the full "libltdl.la". LIBLTDL_CONVENIENCE_SUBDIR?= libltdl post-patch: fix-libltdlc fix-libltdlc: @${ECHO} 'Fixing libltdl convenience library linkage.' @cd ${WRKSRC}/${LIBLTDL_CONVENIENCE_SUBDIR} && \ ${ECHO} 'all install clean:' >Makefile.in && \ ${ECHO} 'all install clean:' >Makefile && \ ${RM} -f Makefile.am configure* ltdl.h *.la && \ ${LN} -s ${BUILDLINK_DIR}/include/ltdl.h ltdl.h && \ ${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la libltdl.la && \ ${LN} -s ${BUILDLINK_DIR}/lib/libltdl.la libltdlc.la .include "../../devel/libltdl/buildlink3.mk"