From f8a31acbb792e1f9e16841003061ce2c58c63458 Mon Sep 17 00:00:00 2001 From: Stefan Haas Date: Fri, 7 Sep 2007 10:17:31 +0000 Subject: [PATCH] changed CMakeLists.txt --- devel/devel.shaas/PdbToZypp/pdbtozypp.cc | 4 ++-- devel/devel.shaas/PdbToZypp/swig/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/devel/devel.shaas/PdbToZypp/pdbtozypp.cc b/devel/devel.shaas/PdbToZypp/pdbtozypp.cc index aad72a7..9e83f3c 100644 --- a/devel/devel.shaas/PdbToZypp/pdbtozypp.cc +++ b/devel/devel.shaas/PdbToZypp/pdbtozypp.cc @@ -16,8 +16,8 @@ void PdbToZypp::readOut(){ //store = new ResStore; - database *dbDeps = new database("lorien.suse.de", "rpmread", "Salahm1", "rpm"); - database *dbPackages = new database("lorien.suse.de", "rpmread", "Salahm1", "package"); + database *dbDeps = new database("lorien.suse.de", "rpmread", "rrrrrrr", "rpm"); + database *dbPackages = new database("lorien.suse.de", "rpmread", "rrrrrrr", "package"); if(dbPackages->connect() != 1){ //std::cout << "NO DB CONNECTION!!!\n"; diff --git a/devel/devel.shaas/PdbToZypp/swig/CMakeLists.txt b/devel/devel.shaas/PdbToZypp/swig/CMakeLists.txt index a8f61b7..26e2546 100644 --- a/devel/devel.shaas/PdbToZypp/swig/CMakeLists.txt +++ b/devel/devel.shaas/PdbToZypp/swig/CMakeLists.txt @@ -34,7 +34,7 @@ ADD_DEPENDENCIES( rpdbtozypp glue ) INCLUDE_DIRECTORIES( ${PERL_LIB_PATH} ) INCLUDE_DIRECTORIES( ${ZYPP_INCLUDE_DIR} ) -INCLUDE_DIRECTORIES( /usr/include/pdbtozypp ) +INCLUDE_DIRECTORIES( ${CMAKE_INSTALL_PREFIX}/include/pdbtozypp ) TARGET_LINK_LIBRARIES( rpdbtozypp ${ZYPP_LIBRARY} ) TARGET_LINK_LIBRARIES( rpdbtozypp -lpdbtozypp ) -- 2.7.4