openbsd-ports/comms/smstools/patches/patch-src_Makefile
jasper 5116bee878 fix build on mips64.
no bump, because !mips64 packages didn't change, and mips64 didn't package.

ok sthen@ (MAINTAINER)
2008-01-30 14:34:01 +00:00

16 lines
702 B
Plaintext

$OpenBSD: patch-src_Makefile,v 1.1 2008/01/30 14:34:01 jasper Exp $
--- src/Makefile.orig Mon Jan 28 23:41:42 2008
+++ src/Makefile Mon Jan 28 23:43:26 2008
@@ -21,9 +21,9 @@ all: smsd
smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
ifneq (,$(findstring NOSTATS,$(CFLAGS)))
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^
else
- $(CC) `mm-config --cflags` $(CFLAGS) -o $@ $^ `mm-config --ldflags --libs`
+ $(CC) `mm-config --cflags` $(CFLAGS) $(EXTRA_CFLAGS) -o $@ $^ `mm-config --ldflags --libs`
@echo "(Please ignore warning about tempnam -- it is used in a safe way)"
endif