Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
libinline-java-perl
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Debian Perl Group
modules
packages
libinline-java-perl
Commits
238d3c82
Commit
238d3c82
authored
8 years ago
by
gregor herrmann
Browse files
Options
Downloads
Patches
Plain Diff
debian/rules: don't build JNI extension on some architectures
where it seems to have problems. Closes: #754755
parent
01f0932c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
debian/rules
+9
-0
9 additions, 0 deletions
debian/rules
with
9 additions
and
0 deletions
debian/rules
+
9
−
0
View file @
238d3c82
...
...
@@ -49,8 +49,15 @@ CDBS_DEPENDS_$(pkg) = $(deps)
export
JAVA_HOME
=
/usr/lib/jvm/default-java
DEB_HOST_ARCH
=
$(
shell dpkg-architecture
-qDEB_HOST_ARCH
)
NO_JNI_ARCH
=
hppa hurd-i386 mips mipsel
ifeq
(,$(filter $(DEB_HOST_ARCH), $(NO_JNI_ARCH)))
# Have testsuite use JNI
export
PERL_INLINE_JAVA_JNI
=
1
else
# Don't build JNI extension
DEB_MAKEMAKER_USER_FLAGS
=
BUILD_JNI
=
0
endif
# Put aside upstream cruft during build
DEB_UPSTREAM_CRUFT_MOVE
=
t/t13.txt
...
...
@@ -58,6 +65,7 @@ DEB_UPSTREAM_CRUFT_MOVE = t/t13.txt
# Have testsuite use the C locale's decimal point
DEB_MAKE_CHECK_TARGET
+=
LC_NUMERIC
=
C
ifeq
(,$(filter $(DEB_HOST_ARCH), $(NO_JNI_ARCH)))
binary-post-install/$(pkg)
::
chrpath
-d
$(
cdbs_curdestdir
)$(
perlpath
)
/auto/Inline/Java/JNI/JNI.so
...
...
@@ -67,3 +75,4 @@ binary-post-install/$(pkg)::
$(
cdbs_curdestdir
)$(
perlpath
)
/Inline/Java/
*
.jar
dh_link usr/share/
$(
pkg
)
/InlineJavaServer.jar
$(
perlpath
)
/Inline/Java/InlineJavaServer.jar
\
usr/share/
$(
pkg
)
/InlineJavaUser.jar
$(
perlpath
)
/Inline/Java/InlineJavaUser.jar
endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment