Correct the pkg-config information.
PR: 82411 Submitted by: Panagiotis Astithas <past@ebs.gr>
This commit is contained in:
parent
342997ec98
commit
7435cacd34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138091
3 changed files with 22 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libgtk-java
|
||||
PORTVERSION= 2.6.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits java
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6
|
||||
|
|
11
x11-toolkits/libgtk-java/files/patch-configure
Normal file
11
x11-toolkits/libgtk-java/files/patch-configure
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- configure.orig Sun Jun 19 12:47:14 2005
|
||||
+++ configure Sun Jun 19 12:48:24 2005
|
||||
@@ -19759,7 +19759,7 @@
|
||||
|
||||
WINDOWS_LIB_VERSION="2-6"
|
||||
|
||||
-INSTALLED_CLASSPATH=\${prefix}/share/java/gtk${gtkapiversion}-${VERSION}.jar
|
||||
+INSTALLED_CLASSPATH=\${prefix}/share/java/classes/gtk${gtkapiversion}.jar
|
||||
INSTALLED_JNI_DIR=\${prefix}/lib/
|
||||
INSTALLED_MACRO_DIR=\${prefix}/share/libgtk-java/macros/
|
||||
|
10
x11-toolkits/libgtk-java/files/patch-gtk2-java.pc.in
Normal file
10
x11-toolkits/libgtk-java/files/patch-gtk2-java.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- gtk2-java.pc.in.orig Sun Jun 19 11:53:03 2005
|
||||
+++ gtk2-java.pc.in Sun Jun 19 11:54:14 2005
|
||||
@@ -10,6 +10,6 @@
|
||||
api_version=@gtkapiversion@
|
||||
classpath=@INSTALLED_CLASSPATH@
|
||||
macro_dir=@INSTALLED_MACRO_DIR@
|
||||
-jnilibs=-L@libdir@ -lgtkjni
|
||||
+jnilibs=-L@libdir@ -lgtkjni-@gtkapiversion@
|
||||
Libs: -L@libdir@ -lgtkjava
|
||||
Cflags: -I@includedir@/libgtk-java
|
Loading…
Reference in a new issue