forked from Lainports/freebsd-ports
24 lines
700 B
Text
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
|