aboutsummaryrefslogtreecommitdiff
path: root/archivers/rzip
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2020-02-13 23:42:42 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2020-02-13 23:42:42 +0000
commit2d6803abe7e182da967225375487cfc389a60337 (patch)
tree393145762993ab786450edf12385e4c909f92d0f /archivers/rzip
parent53b20d6e60fc117385b33ce590db89a82156063b (diff)
downloadports-2d6803abe7e182da967225375487cfc389a60337.tar.gz
ports-2d6803abe7e182da967225375487cfc389a60337.zip
Set the install-path via configure instead of patching Makefile.in
The change gets rid of the sole patch -- and thus the entire files/ -- by using a Makefile-knob. The resulting build is exactly the same -- no need to bump PORTREVISION. PR: 244107 Submitted by: mi
Notes
Notes: svn path=/head/; revision=526076
Diffstat (limited to 'archivers/rzip')
-rw-r--r--archivers/rzip/Makefile1
-rw-r--r--archivers/rzip/files/patch-Makefile.in13
2 files changed, 1 insertions, 13 deletions
diff --git a/archivers/rzip/Makefile b/archivers/rzip/Makefile
index 1c59d2bf04ee..88841717a744 100644
--- a/archivers/rzip/Makefile
+++ b/archivers/rzip/Makefile
@@ -13,6 +13,7 @@ COMMENT= Compression program similar to gzip or bzip2
LICENSE= GPLv2
GNU_CONFIGURE= yes
+GNU_CONFIGURE_PREFIX=${STAGEDIR}${PREFIX}
PLIST_FILES= bin/rzip man/man1/rzip.1.gz
diff --git a/archivers/rzip/files/patch-Makefile.in b/archivers/rzip/files/patch-Makefile.in
deleted file mode 100644
index 5d76bac31eac..000000000000
--- a/archivers/rzip/files/patch-Makefile.in
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.in.orig 2006-02-14 00:38:23 UTC
-+++ Makefile.in
-@@ -3,8 +3,8 @@
-
- prefix=@prefix@
- exec_prefix=@exec_prefix@
--INSTALL_BIN=$(exec_prefix)/bin
--INSTALL_MAN=$(prefix)/man
-+INSTALL_BIN=$(DESTDIR)$(exec_prefix)/bin
-+INSTALL_MAN=$(DESTDIR)$(prefix)/man
-
- LIBS=@LIBS@
- CC=@CC@