pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libcanlock: Disabled obsolete Version 2 API
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By: micha
Date: Fri Aug 17 13:46:39 2018 +0200
Changeset: 02e05b6299a2efba9a8d691b5f4bf50391f7c6e7
Modified Files:
libcanlock/Makefile
Log Message:
libcanlock: Disabled obsolete Version 2 API
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=02e05b6299a2efba9a8d691b5f4bf50391f7c6e7
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libcanlock/Makefile | 7 +++++++
1 file changed, 7 insertions(+)
diffs:
diff --git a/libcanlock/Makefile b/libcanlock/Makefile
index 24698a4cf3..f6aa945dea 100644
--- a/libcanlock/Makefile
+++ b/libcanlock/Makefile
@@ -17,4 +17,11 @@ USE_LIBTOOL= yes
TEST_TARGET= test
+# Disable obsolete Version 2 API
+SUBST_CLASSES+= edit-header
+SUBST_STAGE.edit-header= pre-configure
+SUBST_MESSAGE.edit-header= Prepare header file
+SUBST_FILES.edit-header= include/canlock.h
+SUBST_SED.edit-header= -e 's,CL_API_V2 1,CL_API_V2 0,g'
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index