1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/biology/xdrawchem/files/patch-aa
2001-02-19 15:53:46 +00:00

32 lines
848 B
Plaintext

--- Makefile.orig Wed Feb 7 10:16:18 2001
+++ Makefile Mon Feb 19 07:24:11 2001
@@ -4,19 +4,19 @@
# if you change this variable, remember to put "\" before the directory,
# and \"" after it, so the preprocessor will insert quotes correctly
-RINGDIR = "\"/usr/local/lib/xdrawchem/\""
+RINGDIR = "\"${PREFIX}/share/xdrawchem\""
#RINGDIR = "\"ring/\""
## Compiler stuff
-CXX = g++
-CXXFLAGS = -g -DRINGHOME=$(RINGDIR)
-CC = gcc
-CFLAGS = -g -DRINGHOME=$(RINGDIR)
-INCPATH = -I/usr/include -I$(QTDIR)/include
-LFLAGS = -g -L$(QTDIR)/lib -L/usr/lib -L/usr/X11R6/lib
-LIBS = -lqt -lXext -lX11 -lm
-MOC = moc
+CXX ?= g++
+CXXFLAGS += -g -DRINGHOME=$(RINGDIR)
+CC ?= gcc
+CFLAGS += -g -DRINGHOME=$(RINGDIR)
+INCPATH = -I$(QTDIR)/include/qt2
+LFLAGS = -g -L$(QTDIR)/lib
+LIBS = -lqt2 -lXext -lX11 -lm
+MOC = $(QTDIR)/bin/moc2
####### Target