pkgsrc-WIP-changes archive

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

emwm: fix building on Linux (2)



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Tue Jun 21 22:48:56 2022 +0200
Changeset:	84448f76118e727c88166d83bb2fc0385fdc481f

Modified Files:
	emwm/Makefile

Log Message:
emwm: fix building on Linux (2)

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

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

diffstat:
 emwm/Makefile | 8 ++++++++
 1 file changed, 8 insertions(+)

diffs:
diff --git a/emwm/Makefile b/emwm/Makefile
index e885106126..6c47093044 100644
--- a/emwm/Makefile
+++ b/emwm/Makefile
@@ -14,6 +14,14 @@ HOMEPAGE=	https://fastestcode.org/emwm.html
 COMMENT=	Enhanced Motif Window Manager
 LICENSE=	gnu-lgpl-v2.1
 
+MAKEFLAGS+=	PREFIX=${PREFIX}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Linux"
+USE_TOOLS+=	gmake
+.endif
+
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1
 INSTALLATION_DIRS+=	share/examples/${DISTNAME:S,-src,,}
 INSTALLATION_DIRS+=	lib/X11/app-defaults


Home | Main Index | Thread Index | Old Index