Ticket #37276: patch-Platform-Linux-CreateRedist-install.sh.diff

File patch-Platform-Linux-CreateRedist-install.sh.diff, 940 bytes (added by josephhowse@…, 12 years ago)

graphics/openni-devel/files/patch-Platform-Linux-CreateRedist-install.sh.diff

  • Platform/Linux/CreateRedist/install.sh

    old new  
    7171        exit 1
    7272fi
    7373
    74 INSTALL_LIB=$rootfs/usr/lib
    75 INSTALL_BIN=$rootfs/usr/bin
    76 INSTALL_INC=$rootfs/usr/include/ni
    77 INSTALL_VAR=$rootfs/var/lib/ni
    78 INSTALL_JAR=$rootfs/usr/share/java
     74INSTALL_LIB=$rootfs@PREFIX@/lib
     75INSTALL_BIN=$rootfs@PREFIX@/bin
     76INSTALL_INC=$rootfs@PREFIX@/include/ni
     77INSTALL_VAR=$rootfs@PREFIX@/var/lib/ni
     78INSTALL_JAR=$rootfs@PREFIX@/share/java
    7979
    8080# make all calls into OpenNI run in this filesystem
    8181export OPEN_NI_INSTALL_PATH=$rootfs
     
    107107        mkdir -p $INSTALL_VAR
    108108        printf "OK\n"
    109109
    110         # register modules
    111         for module in $MODULES; do
    112                 printf "registering module '$module'..."
    113                 $INSTALL_BIN/niReg -r $INSTALL_LIB/$module
    114                 printf "OK\n"
    115         done
    116110
    117111        # mono
    118112        if [ -f $rootfs/usr/bin/gmcs -a -f Bin/OpenNI.net.dll ]; then