diff options
Diffstat (limited to 'devel/jna/files/patch-native_Makefile')
-rw-r--r-- | devel/jna/files/patch-native_Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/devel/jna/files/patch-native_Makefile b/devel/jna/files/patch-native_Makefile index 90d7f167fa02..3a4d9479249f 100644 --- a/devel/jna/files/patch-native_Makefile +++ b/devel/jna/files/patch-native_Makefile @@ -3,6 +3,15 @@ $FreeBSD$ --- native/Makefile.orig +++ native/Makefile +@@ -20,6 +20,8 @@ + # protection simply by defining HAVE_PROTECTION. This has been enabled + # only for those platforms on which it has been tested successfully. + ++unexport LDFLAGS ++ + OS=$(shell uname | sed -e 's/\(CYGWIN\|MINGW32\).*/win32/g' \ + -e 's/SunOS.*/solaris/g' \ + -e 's/FreeBSD.*/freebsd/g' \ @@ -135,7 +135,7 @@ ifeq ($(OS),freebsd) ARCH=$(shell uname -m | sed 's/i.86/i386/g') |