add libvorbisidec package (thanks to David Collet)
[openwrt.git] / package / nfs-server / Makefile
index 6bc126d..32bad9b 100644 (file)
@@ -22,6 +22,8 @@ $(PKG_BUILD_DIR)/.configured:
        (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
+               CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
+               LDFLAGS="-L$(STAGING_DIR)/usr/lib" \
                ./configure \
                  --target=$(GNU_TARGET_NAME) \
                  --host=$(GNU_TARGET_NAME) \
@@ -53,7 +55,7 @@ $(IPKG_NFS_SERVER):
        install -d -m0755 $(IDIR_NFS_SERVER)/etc
        install -m0644 ./files/nfsd.exports $(IDIR_NFS_SERVER)/etc/exports
        install -d -m0755 $(IDIR_NFS_SERVER)/etc/init.d
-       install -m0644 ./files/nfsd.init $(IDIR_NFS_SERVER)/etc/init.d/S60nfsd
+       install -m0755 ./files/nfsd.init $(IDIR_NFS_SERVER)/etc/init.d/S60nfsd
        install -d -m0755 $(IDIR_NFS_SERVER)/usr/sbin
        install -m0755 $(PKG_BUILD_DIR)/rpc.* $(IDIR_NFS_SERVER)/usr/sbin/
        $(RSTRIP) $(IDIR_NFS_SERVER)
This page took 0.024371 seconds and 4 git commands to generate.