Files
ports/sysutils/minipro/files/patch-Makefile
T
Sean Bruno dbfcadcef9 sysutils/minipro: Update to 0.5
Reset maintainer at request of original submitter.
Tested with firware update to TL866II+.

Differential Revision: https://reviews.freebsd.org/D34683
2022-04-01 15:25:35 -06:00

32 lines
1.1 KiB
Plaintext

--- Makefile.orig 2022-03-27 01:54:42 UTC
+++ Makefile
@@ -1,16 +1,16 @@
# Install Configuration
# Your C compiler
-CC=gcc
+CC?=gcc
#CC=clang
# Compiler options
-CFLAGS = -g -O0 -Wall -DSHARE_INSTDIR="\"$(SHARE_INSTDIR)\""
+CFLAGS += -g -O0 -Wall -DSHARE_INSTDIR="\"$(SHARE_INSTDIR)\""
# Normally minipro is installed to /usr/local. If you want to put it
# somewhere else, define that location here.
PREFIX ?= /usr/local
-MANDIR ?= $(PREFIX)/share/man
+MANDIR ?= $(PREFIX)/man
# Some older releases of MacOS need some extra library flags.
#EXTRA_LIBS += "-framework Foundation -framework IOKit"
@@ -70,7 +70,7 @@ INCLUDE_INSTDIR=$(DESTDIR)$(PREFIX)/include/libminipro
LIB_INSTDIR=$(DESTDIR)$(PREFIX)/lib
SHARE_INSTDIR=$(DESTDIR)$(PREFIX)/share/minipro
INCLUDE_INSTDIR=$(DESTDIR)$(PREFIX)/include/libminipro
-MAN_INSTDIR=$(DESTDIR)$(PREFIX)/share/man/man1
+MAN_INSTDIR=$(DESTDIR)$(PREFIX)/man/man1
UDEV_DIR=$(shell $(PKG_CONFIG) --define-variable=prefix=$(PREFIX) --silence-errors --variable=udevdir udev)
UDEV_RULES_INSTDIR=$(DESTDIR)$(UDEV_DIR)/rules.d