aboutsummaryrefslogtreecommitdiff
path: root/x11/xwinwrap
diff options
context:
space:
mode:
authorVeniamin Gvozdikov <vg@FreeBSD.org>2013-10-16 09:04:21 +0000
committerVeniamin Gvozdikov <vg@FreeBSD.org>2013-10-16 09:04:21 +0000
commit8e65fc1c17aa0132a809b1337eddf51f4ce5e302 (patch)
treed08e28da5dc32d722541be370143549723b19a24 /x11/xwinwrap
parenteb6c2c490ec24a350cfee09f5573c93dce8c49cb (diff)
downloadports-8e65fc1c17aa0132a809b1337eddf51f4ce5e302.tar.gz
ports-8e65fc1c17aa0132a809b1337eddf51f4ce5e302.zip
- Fixed build on 10.x
- Fixed custom path to install Approved by: eadler, osa, rm (mentors, implicit)
Notes
Notes: svn path=/head/; revision=330488
Diffstat (limited to 'x11/xwinwrap')
-rw-r--r--x11/xwinwrap/Makefile1
-rw-r--r--x11/xwinwrap/files/patch-Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/x11/xwinwrap/Makefile b/x11/xwinwrap/Makefile
index cf31d3afaaac..97e11b91b825 100644
--- a/x11/xwinwrap/Makefile
+++ b/x11/xwinwrap/Makefile
@@ -16,6 +16,7 @@ ONLY_FOR_ARCHS= amd64 i386
USE_BZIP2= yes
USE_XORG= x11 xproto xrender xext
PLIST_FILES= bin/${PORTNAME}
+MAKE_ARGS+= PREFIX=${PREFIX}
NO_STAGE= yes
.include <bsd.port.pre.mk>
diff --git a/x11/xwinwrap/files/patch-Makefile b/x11/xwinwrap/files/patch-Makefile
index afdd27606b2e..83efc79954a2 100644
--- a/x11/xwinwrap/files/patch-Makefile
+++ b/x11/xwinwrap/files/patch-Makefile
@@ -20,7 +20,7 @@
- cp i386/xwinwrap /usr/bin
+INSTALL = /usr/bin/install -m 755
+PREFIX = /usr/local
-+CC = gcc
++CC = cc
+ARCH = `uname -p`
+
+TARGET = xwinwrap