mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
Oops, commit the new patch, not the patch to the previous patch.
This commit is contained in:
parent
70b1b91263
commit
ef12b155de
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18726
@ -1,23 +1,42 @@
|
|||||||
Index: patches/patch-aa
|
|
||||||
===================================================================
|
|
||||||
RCS file: /home/ncvs/ports/astro/xglobe/patches/patch-aa,v
|
|
||||||
retrieving revision 1.2
|
|
||||||
diff -u -r1.2 patch-aa
|
|
||||||
--- patch-aa 1999/05/01 08:09:05 1.2
|
|
||||||
+++ patch-aa 1999/05/09 03:27:50
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
--- Makefile.orig Mon Apr 19 18:51:04 1999
|
--- Makefile.orig Mon Apr 19 18:51:04 1999
|
||||||
-+++ Makefile Sat May 1 17:17:30 1999
|
+++ Makefile Sun May 9 12:57:37 1999
|
||||||
++++ Makefile Sun May 9 12:57:37 1999
|
|
||||||
@@ -4,29 +4,31 @@
|
@@ -4,29 +4,31 @@
|
||||||
|
|
||||||
####### Installation directory
|
####### Installation directory
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
|
-XGLOBE_DIR = /usr/local
|
||||||
|
+XGLOBE_DIR = $(PREFIX)
|
||||||
|
XGLOBE_LIB_DIR = $(XGLOBE_DIR)/lib/xglobe
|
||||||
|
XGLOBE_BIN_DIR = $(XGLOBE_DIR)/bin
|
||||||
|
|
||||||
|
####### Library directories - you may need to modify these
|
||||||
|
|
||||||
-X11_INCLUDE_DIR = /usr/X11R6/include
|
-X11_INCLUDE_DIR = /usr/X11R6/include
|
||||||
-QT_INCLUDE_DIR = /usr/lib/qt/include
|
-QT_INCLUDE_DIR = /usr/lib/qt/include
|
||||||
+X11_INCLUDE_DIR = $(X11BASE)/include
|
+X11_INCLUDE_DIR = $(X11BASE)/include
|
||||||
-+QT_INCLUDE_DIR = $(X11BASE)/share/include/X11/qt
|
+QT_INCLUDE_DIR = $(X11BASE)/include/X11/qt
|
||||||
++QT_INCLUDE_DIR = $(X11BASE)/include/X11/qt
|
|
||||||
|
|
||||||
-QT_LIB_DIR = /usr/lib/qt/lib
|
-QT_LIB_DIR = /usr/lib/qt/lib
|
||||||
-X11_LIB_DIR = /usr/X11R6/lib
|
-X11_LIB_DIR = /usr/X11R6/lib
|
||||||
|
+QT_LIB_DIR = $(X11BASE)/lib
|
||||||
|
+X11_LIB_DIR = $(X11BASE)/lib
|
||||||
|
|
||||||
|
|
||||||
|
####### Compiler and tools
|
||||||
|
|
||||||
|
-CPP = g++
|
||||||
|
-LINK = g++
|
||||||
|
+CXX ?= g++
|
||||||
|
+CPP = $(CXX)
|
||||||
|
+LINK = $(CXX)
|
||||||
|
MOC = moc
|
||||||
|
INSTALL = install
|
||||||
|
|
||||||
|
####### compile and link options
|
||||||
|
|
||||||
|
-CFLAGS = $(INCLUDE_DIRS) -DXGLOBE_LIB_DIR=\"$(XGLOBE_LIB_DIR)\" -O2 -Wall
|
||||||
|
+CFLAGS ?= -O2
|
||||||
|
+CFLAGS += $(INCLUDE_DIRS) -DXGLOBE_LIB_DIR=\"$(XGLOBE_LIB_DIR)\" -Wall
|
||||||
|
|
||||||
|
LFLAGS =
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user