diff options
author | olgeni <olgeni@FreeBSD.org> | 2011-03-07 20:07:07 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2011-03-07 20:07:07 +0800 |
commit | 4360d7c5803a175b647d58c19197b9bffd219e12 (patch) | |
tree | 3b1b79b2ae47a5f0e3e9934822648a79accb593e | |
parent | 0841bc7906a96181aea8c221024a09a669667eff (diff) | |
download | freebsd-ports-gnome-4360d7c5803a175b647d58c19197b9bffd219e12.tar.gz freebsd-ports-gnome-4360d7c5803a175b647d58c19197b9bffd219e12.tar.zst freebsd-ports-gnome-4360d7c5803a175b647d58c19197b9bffd219e12.zip |
Tinderbox does not have /usr/X11R6, so use /usr/local.
-rw-r--r-- | devel/jna/files/patch-native_Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/jna/files/patch-native_Makefile b/devel/jna/files/patch-native_Makefile new file mode 100644 index 000000000000..90d7f167fa02 --- /dev/null +++ b/devel/jna/files/patch-native_Makefile @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- native/Makefile.orig ++++ native/Makefile +@@ -135,7 +135,7 @@ + ifeq ($(OS),freebsd) + ARCH=$(shell uname -m | sed 's/i.86/i386/g') + PCFLAGS+=-fPIC +-CINCLUDES+=-I/usr/X11R6/include ++CINCLUDES+=-I/usr/local/include + LDFLAGS=-o $@ -shared + CDEFINES+=-DHAVE_PROTECTION -DFFI_MMAP_EXEC_WRIT + endif |