pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/lockf



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jul 15 17:03:53 UTC 2017

Modified Files:
        pkgsrc/sysutils/lockf: Makefile

Log Message:
Honor (CFLAGS and) LDFLAGS. Fixes RELRO build.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/lockf/Makefile

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

Modified files:

Index: pkgsrc/sysutils/lockf/Makefile
diff -u pkgsrc/sysutils/lockf/Makefile:1.2 pkgsrc/sysutils/lockf/Makefile:1.3
--- pkgsrc/sysutils/lockf/Makefile:1.2  Sun Oct  5 16:27:25 2014
+++ pkgsrc/sysutils/lockf/Makefile      Sat Jul 15 17:03:53 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2014/10/05 16:27:25 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2017/07/15 17:03:53 wiz Exp $
 
 DISTNAME=      lockf-1
 CATEGORIES=    sysutils
@@ -23,7 +23,7 @@ INSTALLATION_DIRS=    bin ${PKGMANDIR}/man1
 do-build:
        cd ${WRKSRC}; \
         ${ECHO} "${CC} -o lockf lockf.c"; \
-        ${CC} -o lockf lockf.c
+        ${CC} ${CFLAGS} ${LDFLAGS} -o lockf lockf.c
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/lockf ${DESTDIR}${PREFIX}/bin/lockf



Home | Main Index | Thread Index | Old Index