openbsd-ports/misc/digitemp/patches/patch-Makefile
sturm f0da9c74d5 initial import of digitemp 3.5.0
DigiTemp is a simple to use program for reading values from 1-wire
devices. Its main use is for reading temperature sensors, but it
also reads counters, and understands the 1-wire hubs with devices
on different branches of the network. DigiTemp now supports the
following 1-wire temperature sensors: DS18S20 (and DS1820), DS18B20,
DS1822, the DS2438 Smart Battery Monitor, DS2422 and DS2423 Counters,
DS2409 MicroLAN Coupler (used in 1-wire hubs), and the AAG TAI-8540
humidity sensor.

based on a submission of Julien TOUCHE
2007-10-07 09:42:03 +00:00

15 lines
394 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2007/10/07 09:42:03 sturm Exp $
--- Makefile.orig Mon Jan 1 19:47:02 2007
+++ Makefile Thu Sep 27 16:52:49 2007
@@ -13,8 +13,8 @@ VERSION = 3.5.0
CC = gcc
-CFLAGS = -I./src -I./userial -O2 # -g -Wall
-LIBS = -lm
+CFLAGS += -I./src -I./userial
+LIBS = -lm ${LDFLAGS}
OBJS = src/digitemp.o src/device_name.o
HDRS = src/digitemp.h src/device_name.h