summaryrefslogtreecommitdiffstats
path: root/net-mgmt/docsis/files/patch-Makefile
blob: 986b74873507cf910fa97433a5cddf6649e2ba39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

$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
OpenPOWER on IntegriCloud