svn commit: r363423 - in head/emulators/vmw: . files
Adam Weinberger
adamw at FreeBSD.org
Wed Jul 30 01:12:55 UTC 2014
Author: adamw
Date: Wed Jul 30 01:12:54 2014
New Revision: 363423
URL: http://svnweb.freebsd.org/changeset/ports/363423
QAT: https://qat.redports.org/buildarchive/r363423/
Log:
Fix build without gcc.
Added:
head/emulators/vmw/files/
head/emulators/vmw/files/patch-Makefile.FreeBSD (contents, props changed)
Modified:
head/emulators/vmw/Makefile
Modified: head/emulators/vmw/Makefile
==============================================================================
--- head/emulators/vmw/Makefile Wed Jul 30 01:03:40 2014 (r363422)
+++ head/emulators/vmw/Makefile Wed Jul 30 01:12:54 2014 (r363423)
@@ -17,25 +17,22 @@ SBINS= vmw vmshrink vmftp
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README-eucj.TXT README-sjis.TXT README.TXT
.for i in ${SBINS}
PORTDOCS+= ${i}-eucj.txt ${i}-sjis.txt ${i}.txt
.endfor
-.endif
.for i in ${SBINS}
PLIST_FILES+= sbin/${i}
.endfor
+post-patch:
+# @${REINPLACE_CMD} -e 's/=/?=/' ${WRKSRC}/Makefile.FreeBSD
+
do-install:
.for i in ${SBINS}
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/sbin/
.endfor
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- @cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/)
.include <bsd.port.mk>
Added: head/emulators/vmw/files/patch-Makefile.FreeBSD
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/vmw/files/patch-Makefile.FreeBSD Wed Jul 30 01:12:54 2014 (r363423)
@@ -0,0 +1,20 @@
+--- Makefile.FreeBSD.orig 2014-07-29 21:08:54.000000000 -0400
++++ Makefile.FreeBSD 2014-07-29 21:11:09.000000000 -0400
+@@ -2,13 +2,13 @@
+ #
+ # Copyright (c) 2006 Ken Kato
+
+-AS = as
++AS ?= as
+ ASFLAGS =
+
+-CC = gcc
+-CFLAGS = -O2
++CC ?= gcc
++CFLAGS ?= -O2
+
+-LD = gcc
++LD = ${CC}
+ LDFLAGS =
+
+ # replace the following line if you prefer inline version
More information about the svn-ports-all
mailing list