freebsd-ports/net/docsis/files/patch-Makefile
Yen-Ming Lee 5c3d3ef711 update to 0.8.2
PR:		48763
Submitted by:	James E. Flemer <jflemer@alum.rpi.edu>
2003-04-15 00:18:30 +00:00

24 lines
700 B
Text

$FreeBSD$
--- Makefile.orig Tue Feb 11 15:36:39 2003
+++ Makefile Thu Feb 27 19:16:03 2003
@@ -1,6 +1,6 @@
# Makefile for "docsis" program.
#
-CC = gcc
+#CC = gcc
DEFS = -DYY_NO_UNPUT -DDEBUG
#
# We assume net-snmp is installed in /opt/net-snmp. If not, replace with
@@ -8,8 +8,8 @@
# -lnetsnmp is NET-SNMP
# -lcrypto is OpenSSL.
#
-CFLAGS = -g -Wall -I/opt/net-snmp/include
-LIBS = -L/opt/net-snmp/lib -lnetsnmp -lcrypto -lnsl -lfl -lm
+CFLAGS += -I${PREFIX}/include -I${OPENSSLINC}
+LIBS = -L${PREFIX}/lib -L${OPENSSLLIB} -lnetsnmp -lcrypto -lfl -lm
# If you installed NET-SNMP in /usr/local, uncomment the following two lines:
# CFLAGS = -g -Wall -I/usr/local/include