pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bystand: Add support for GNU/Linux
Module Name: pkgsrc-wip
Committed By: Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By: micha
Date: Tue Mar 10 15:39:24 2020 +0100
Changeset: 7cd6a762ea18b4c87de8f02957e6aa95a259d5e6
Modified Files:
bystand/Makefile
Log Message:
bystand: Add support for GNU/Linux
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=7cd6a762ea18b4c87de8f02957e6aa95a259d5e6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
bystand/Makefile | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diffs:
diff --git a/bystand/Makefile b/bystand/Makefile
index da2750ef38..9b627307e3 100644
--- a/bystand/Makefile
+++ b/bystand/Makefile
@@ -16,9 +16,17 @@ USE_LANGUAGES+= c99
INSTALLATION_DIRS= bin share/doc/bystand share/doc/bystand/setup
+.if ${OPSYS} == "Linux"
+# Makefile for GNU userland
+BYSTAND_MAKEFILE= Makefile
+.else
+# Makefile that builds GNU compatibility module
+BYSTAND_MAKEFILE= Makefile.BSD
+.endif
+
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
- ${MAKE} ${MAKE_FLAGS} -f Makefile.BSD
+ ${MAKE} ${MAKE_FLAGS} -f ${BYSTAND_MAKEFILE}
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${WRKSRC}/bystand \
@@ -36,5 +44,4 @@ do-install:
# Minimum required API version is undocumented (use tested one)
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.29.0
.include "../../databases/sqlite3/buildlink3.mk"
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index