forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
22 lines
551 B
Text
22 lines
551 B
Text
--- ./Makefile.orig 2012-06-16 16:54:07.000000000 +1000
|
|
+++ ./Makefile 2012-06-16 16:54:52.000000000 +1000
|
|
@@ -2,7 +2,7 @@
|
|
# $Id: Makefile,v 1.7 2011-11-15 18:55:19 gray Exp $
|
|
#
|
|
|
|
-CC = cc
|
|
+CC ?= cc
|
|
|
|
PROG = sortu
|
|
OBJS = sortu.o argv.o strsep.o table.o
|
|
@@ -10,8 +10,8 @@
|
|
PORTFLS = README.txt LICENSE.txt Makefile ChangeLog test_sortu.sh \
|
|
sortu.c strsep.[ch] argv.[ch] argv_loc.h table.[ch] table_loc.h
|
|
|
|
-CFLAGS = -g -Wall -O2 $(CCFLS)
|
|
-DESTDIR = /usr/local/sbin
|
|
+CFLAGS ?= -g -Wall -O2 $(CCFLS)
|
|
+DESTDIR ?= /usr/local/sbin
|
|
|
|
all : $(PROG)
|
|
|