diff options
Diffstat (limited to 'app-mobilephone/yaps/files/yaps-0.96-gentoo.diff')
-rw-r--r-- | app-mobilephone/yaps/files/yaps-0.96-gentoo.diff | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/app-mobilephone/yaps/files/yaps-0.96-gentoo.diff b/app-mobilephone/yaps/files/yaps-0.96-gentoo.diff deleted file mode 100644 index c77bcd5d4912..000000000000 --- a/app-mobilephone/yaps/files/yaps-0.96-gentoo.diff +++ /dev/null @@ -1,56 +0,0 @@ ---- a/Config -+++ b/Config -@@ -24,9 +24,9 @@ - # Name of local configuration file (location is $HOME.) - YAPS_LCFGFILE = .yapsrc - # Directory for installing the binary --YAPS_BINDIR = /usr/local/bin -+YAPS_BINDIR = /usr/bin - # Directory for optional support files --YAPS_LIBDIR = /usr/local/lib/yaps -+YAPS_LIBDIR = /usr/lib/yaps - # User/Group/Mode for yaps - YAPS_USER = bin - YAPS_GROUP = uucp -@@ -43,12 +43,12 @@ - ifdef SLANG - LDEFS += -DSCRIPT_SLANG - LLIBS += -lslang --MATH = True -+#MATH = True - endif - ifdef LUA - LDEFS += -DSCRIPT_LUA --LLIBS += -llualib -llua --MATH = True -+LLIBS += `pkg-config --libs lua` -+#MATH = True - endif - ifdef MATH - LLIBS += -lm ---- a/Makefile -+++ b/Makefile -@@ -33,19 +33,19 @@ - lynx -cfg=/dev/null -nolist -dump $< > $@ - - install: $(DSTFLE) $(CFGFILE) -- if [ ! -d $(YAPS_LIBDIR) ]; then \ -- install -d -m 755 -o $(YAPS_USER) -g $(YAPS_GROUP) $(YAPS_LIBDIR) ; \ -+ if [ ! -d $(DESTDIR)$(YAPS_LIBDIR) ]; then \ -+ install -d -m 755 $(DESTDIR)$(YAPS_LIBDIR) ; \ - fi - @if [ -f contrib/Makefile ]; then \ - $(MAKE) -C contrib install ; \ - fi - - $(DSTFLE): yaps -- install -o $(YAPS_USER) -g $(YAPS_GROUP) -m $(YAPS_MODE) -s yaps $@ -+ install -m $(YAPS_MODE) -s yaps $(DESTDIR)$@ - - $(CFGFILE): yaps.rc - @if [ ! -f $@ ]; then \ -- install -o $(YAPS_RCUSER) -g $(YAPS_RCGROUP) -m $(YAPS_RCMODE) -s yaps.rc $@ ; \ -+ install -m $(YAPS_RCMODE) -s yaps.rc $(DESTDIR)$@ ; \ - fi - - clean: |