Index: java/jattach/Makefile =================================================================== --- java/jattach/Makefile +++ java/jattach/Makefile @@ -1,7 +1,8 @@ # $FreeBSD$ PORTNAME= jattach -DISTVERSION= g20170928 +DISTVERSIONPREFIX= v +DISTVERSION= 1.4 CATEGORIES= java devel MAINTAINER= mizhka@gmail.com @@ -14,7 +15,6 @@ USE_GITHUB= yes GH_ACCOUNT= apangin -GH_TAGNAME= ccc2f05 PLIST_FILES= bin/jattach Index: java/jattach/distinfo =================================================================== --- java/jattach/distinfo +++ java/jattach/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1506587842 -SHA256 (apangin-jattach-g20170928-ccc2f05_GH0.tar.gz) = dafb14375200beb6c52ffce6412c0d74c4639d8421f275f9b6085511ca4e886d -SIZE (apangin-jattach-g20170928-ccc2f05_GH0.tar.gz) = 9773 +TIMESTAMP = 1535556271 +SHA256 (apangin-jattach-v1.4_GH0.tar.gz) = d624d9158913c571452ac7cfeef59544ea775c5b868fb92efd1edc4d971659e9 +SIZE (apangin-jattach-v1.4_GH0.tar.gz) = 11442 Index: java/jattach/files/patch-Makefile =================================================================== --- java/jattach/files/patch-Makefile +++ java/jattach/files/patch-Makefile @@ -1,21 +0,0 @@ ---- Makefile.orig 2017-09-27 07:10:05 UTC -+++ Makefile -@@ -2,6 +2,10 @@ ifneq ($(findstring Windows,$(OS)),) - CL=cl.exe - CFLAGS=/O2 /D_CRT_SECURE_NO_WARNINGS - JATTACH_EXE=jattach.exe -+else -+ UNAME_S := $(shell uname -s) -+ifneq ($(findstring FreeBSD,$(UNAME_S)),) -+ JATTACH_EXE=jattach - else - ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) - RPM_ROOT=$(ROOT_DIR)/build/rpm -@@ -10,6 +14,7 @@ else - CC=gcc - CFLAGS=-O2 - JATTACH_EXE=jattach -+endif - endif - - all: build build/$(JATTACH_EXE)