Group :: Networking/Other
RPM: ncpfs
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: ncpfs-2.2.6-alt-makefile.patch
Download
Download
diff -ruN ncpfs-2.2.6.orig/sutil/Makefile.in ncpfs-2.2.6/sutil/Makefile.in
--- ncpfs-2.2.6.orig/sutil/Makefile.in 2005-01-28 03:35:59 +1000
+++ ncpfs-2.2.6/sutil/Makefile.in 2007-01-15 22:50:31 +1000
@@ -16,7 +16,7 @@
LIBS = @INTLLIBS@ @LIBS@
# environ in ncpmount
-CCFLAGS += -D_GNU_SOURCE
+CCFLAGS += -D_GNU_SOURCE -fPIC
O_UTILS := nwsfind.o
ifeq ($(USE_KERNEL),1)
@@ -50,8 +50,7 @@
install: all
${INSTALL} -d $(DESTDIR)$(bindir)
- ${INSTALL} -d $(DESTDIR)/sbin
- ${INSTALL} -m 4755 $(UTILS) $(DESTDIR)$(bindir)
+ ${INSTALL} $(UTILS) $(DESTDIR)$(bindir)
ifeq ($(USE_KERNEL),1)
ln -sf ..$(bindir)/ncpmount $(DESTDIR)/sbin/mount.ncp
ln -sf ..$(bindir)/ncpmount $(DESTDIR)/sbin/mount.ncpfs