aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2013-10-07 06:58:15 +0800
committermarino <marino@FreeBSD.org>2013-10-07 06:58:15 +0800
commitaa12bf2c73af40a83ccac69b5eab1b57e91a510e (patch)
tree892baf741e4abd91e458afaa0cf0ac640469830b /cad
parenta336d687d5aba89b8a0ab903088e49fd47407998 (diff)
downloadfreebsd-ports-gnome-aa12bf2c73af40a83ccac69b5eab1b57e91a510e.tar.gz
freebsd-ports-gnome-aa12bf2c73af40a83ccac69b5eab1b57e91a510e.tar.zst
freebsd-ports-gnome-aa12bf2c73af40a83ccac69b5eab1b57e91a510e.zip
cad/varkon: Hardcode PLATFORM to "FreeBSD"
The use of $OPSYS to define the platform actually breaks the build on DragonFly. The PLATFORM has to be recognized, and it serves for file selection. DragonFly (the only other OPSYS using ports for now) needs "FreeBSD", not "DragonFly" to be defined as PLATFORM in order to build. This change has no effect for FreeBSD users. Varkon is an unmaintained port.
Diffstat (limited to 'cad')
-rw-r--r--cad/varkon/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/cad/varkon/Makefile b/cad/varkon/Makefile
index 03a3eb195f07..1543371b43fd 100644
--- a/cad/varkon/Makefile
+++ b/cad/varkon/Makefile
@@ -19,8 +19,8 @@ BUILD_WRKSRC= ${WRKSRC}/sources
USE_XORG= xpm
USE_GL= glu
-USE_GMAKE= yes
-MAKE_ENV= PLATFORM="${OPSYS}"
+USES= gmake
+MAKE_ENV= PLATFORM=FreeBSD
ALL_TARGET= # none
MAKE_JOBS_UNSAFE= yes