pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

i3lock: Use MAKE_FLAGS instead of patching Makefile



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Fri Mar 18 02:33:33 2016 +0100
Changeset:	393b68cbd54137c8c9a5de6c4f3cbf31867a05f2

Modified Files:
	i3lock/Makefile
	i3lock/distinfo
Removed Files:
	i3lock/patches/patch-Makefile

Log Message:
i3lock: Use MAKE_FLAGS instead of patching Makefile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=393b68cbd54137c8c9a5de6c4f3cbf31867a05f2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 i3lock/Makefile               |  3 ++-
 i3lock/distinfo               |  1 -
 i3lock/patches/patch-Makefile | 13 -------------
 3 files changed, 2 insertions(+), 15 deletions(-)

diffs:
diff --git a/i3lock/Makefile b/i3lock/Makefile
index edc8822..e4ad75f 100644
--- a/i3lock/Makefile
+++ b/i3lock/Makefile
@@ -14,7 +14,8 @@ LICENSE=	modified-bsd
 USE_TOOLS+=	gmake pkg-config
 USE_LANGUAGES=	c99
 
-MAKE_ENV+=	SYSCONFDIR=${PKG_SYSCONFDIR}
+MAKE_FLAGS+=	PREFIX=${PREFIX}
+MAKE_FLAGS+=	SYSCONFDIR=${PKG_SYSCONFDIR}
 
 SPECIAL_PERMS+=	bin/i3lock ${SETUID_ROOT_PERMS}
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
diff --git a/i3lock/distinfo b/i3lock/distinfo
index 37f2c39..745728f 100644
--- a/i3lock/distinfo
+++ b/i3lock/distinfo
@@ -4,4 +4,3 @@ SHA1 (i3lock-2.7.tar.bz2) = d1096b1f67bfcddc447fade8fa4f7bc124607fec
 RMD160 (i3lock-2.7.tar.bz2) = b140a1babea730469943641d5d78655d9a5807a8
 SHA512 (i3lock-2.7.tar.bz2) = 7945d142d239fe7f8985c1000e22db0532456939e65ee855f12e364092808d0cc09cc818b1189e32d88c872ce00033c41c8ebefe62349630872815adaf8b3899
 Size (i3lock-2.7.tar.bz2) = 19490 bytes
-SHA1 (patch-Makefile) = 17dc9c1bd1bfbc56805787d67656f5c55703fdb3
diff --git a/i3lock/patches/patch-Makefile b/i3lock/patches/patch-Makefile
deleted file mode 100644
index 3df6211..0000000
--- a/i3lock/patches/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-Makefile,v 1.3 2012/11/25 17:26:59 pallegra Exp $
-
---- Makefile.orig	2015-05-20 07:17:06.000000000 +0000
-+++ Makefile
-@@ -1,6 +1,6 @@
- INSTALL=install
--PREFIX=/usr
--SYSCONFDIR=/etc
-+PREFIX?=/usr
-+SYSCONFDIR?=/etc
- PKG_CONFIG=pkg-config
- 
- # Check if pkg-config is installed, we need it for building CFLAGS/LIBS


Home | Main Index | Thread Index | Old Index