1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/net-im/centericq/files/patch-ab

23 lines
550 B
Plaintext
Raw Normal View History

--- Makefile.orig Sat Dec 25 13:35:19 1999
+++ Makefile Sat Dec 25 13:36:05 1999
@@ -1,14 +1,14 @@
# macros and variables
-CC = gcc
-CPP = g++
+CC ?= gcc
+CPP = ${CXX}
PROG1 = center
-CFLAGS = #-g -Wall -DUNIX
+CFLAGS += #-g -Wall -DUNIX
-INCLUDE = -I/usr/include -I../ktools/include
+INCLUDE = -I../ktools/include
KTLIBDIR = ../ktools
LIB = $(KTLIBDIR)/libkonst.a
-LIBDIR = -L/usr/lib -L/usr/local/lib
+LIBDIR = -L${LOCALBASE}/lib -L${PREFIX}/lib
OBJS = centerICQ.o centerinfo.o phonebook.o icqlib.o center.o centersearch.o
# targets