svn commit: r417955 - in head/java/jxgrabkey: . files

Mikhail Teterin mi at FreeBSD.org
Sun Jul 3 05:17:25 UTC 2016


Author: mi
Date: Sun Jul  3 05:17:23 2016
New Revision: 417955
URL: https://svnweb.freebsd.org/changeset/ports/417955

Log:
  Add an explicit include of <unistd.h>, which is required on
  some of our releases. Change to avoid building the useless
  static libJXGrabKey.a (we weren't installing).
  
  Reported by:	pkg-fallout

Modified:
  head/java/jxgrabkey/Makefile
  head/java/jxgrabkey/files/patch-warnings

Modified: head/java/jxgrabkey/Makefile
==============================================================================
--- head/java/jxgrabkey/Makefile	Sun Jul  3 04:12:55 2016	(r417954)
+++ head/java/jxgrabkey/Makefile	Sun Jul  3 05:17:23 2016	(r417955)
@@ -24,7 +24,7 @@ USE_LDCONFIG=	yes
 
 do-build:
 	${SETENV} ${MAKE_ENV} ${MAKE} -C ${WRKSRC}/JXGrabKey/C++	\
-		-f ${FILESDIR}/Makefile.JXGrabKey
+		-f ${FILESDIR}/Makefile.JXGrabKey libJXGrabKey.so
 	cd ${WRKSRC}/JXGrabKey/Java && ${ANT} -verbose jar
 
 do-install:

Modified: head/java/jxgrabkey/files/patch-warnings
==============================================================================
--- head/java/jxgrabkey/files/patch-warnings	Sun Jul  3 04:12:55 2016	(r417954)
+++ head/java/jxgrabkey/files/patch-warnings	Sun Jul  3 05:17:23 2016	(r417955)
@@ -1,10 +1,11 @@
 --- JXGrabKey/C++/src/JXGrabKey.cpp	2010-02-28 10:11:49.000000000 -0500
 +++ JXGrabKey/C++/src/JXGrabKey.cpp	2016-06-30 03:15:41.718599000 -0400
-@@ -24,4 +24,5 @@
+@@ -24,4 +24,6 @@
  #include <X11/Xlib.h>
  #include <X11/keysym.h>
 +#include <X11/XKBlib.h>
  
++#include <unistd.h>
  #include <pthread.h>
 @@ -319,5 +320,5 @@
  


More information about the svn-ports-all mailing list