Index: head/sysutils/minipro/Makefile =================================================================== --- head/sysutils/minipro/Makefile (revision 506275) +++ head/sysutils/minipro/Makefile (revision 506276) @@ -1,35 +1,30 @@ # Created by: Hondareyte # $FreeBSD$ PORTNAME= minipro PORTVERSION= 0.3 CATEGORIES= sysutils MAINTAINER= lhondareyte@laposte.net COMMENT= CLI for MiniPRO TL866xx chip programmers LICENSE= GPLv3 RUN_DEPENDS= bash:shells/bash -USES= gmake pkgconfig shebangfix +USES= compiler:c11 gmake pkgconfig shebangfix USE_GITLAB= yes GL_ACCOUNT= DavidGriffith GL_COMMIT= e6fb06822e6685886a045ae98c3c82d832bd8e9c GL_PROJECT= ${PORTNAME} SHEBANG_FILES= miniprohex PLIST_FILES= bin/minipro \ bin/miniprohex \ man/man1/minipro.1.gz - -post-patch: - @${REINPLACE_CMD} -e ' s|gcc|clang|g' \ - -e 's|share/||g' \ - ${WRKSRC}/Makefile post-install: @${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man1/minipro.1 @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} .include Index: head/sysutils/minipro/files/patch-Makefile =================================================================== --- head/sysutils/minipro/files/patch-Makefile (nonexistent) +++ head/sysutils/minipro/files/patch-Makefile (revision 506276) @@ -0,0 +1,31 @@ +--- Makefile.orig 2019-02-27 06:19:06 UTC ++++ Makefile +@@ -1,16 +1,16 @@ + # Install Configuration + + # Your C compiler +-CC=gcc ++CC?=gcc + #CC=clang + + # Compiler options +-CFLAGS = -g -O0 -Wall ++CFLAGS ?= -g -O0 -Wall + + # 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" +@@ -58,7 +58,7 @@ OBJCOPY=objcopy + + DIST_DIR = $(MINIPRO)-$(VERSION) + BIN_INSTDIR=$(DESTDIR)$(PREFIX)/bin +-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 Property changes on: head/sysutils/minipro/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property