aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authordaichi <daichi@FreeBSD.org>2003-07-16 20:10:09 +0800
committerdaichi <daichi@FreeBSD.org>2003-07-16 20:10:09 +0800
commit7d4b68e32b65864535a4e71fad3868d8be49d1a2 (patch)
tree1531cbfc591c98f766b6243b3309f849f7f2e31c /x11-toolkits
parent35f0633fc672d773cf8bf4743cfb4c10df14bd62 (diff)
downloadfreebsd-ports-gnome-7d4b68e32b65864535a4e71fad3868d8be49d1a2.tar.gz
freebsd-ports-gnome-7d4b68e32b65864535a4e71fad3868d8be49d1a2.tar.zst
freebsd-ports-gnome-7d4b68e32b65864535a4e71fad3868d8be49d1a2.zip
update x11-toolkits/gtkmathview: build on 5.x
PR: 54472 Reviewed by: sf
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gtkmathview/Makefile14
-rw-r--r--x11-toolkits/gtkmathview/pkg-plist8
2 files changed, 8 insertions, 14 deletions
diff --git a/x11-toolkits/gtkmathview/Makefile b/x11-toolkits/gtkmathview/Makefile
index c0fca078e994..6a0de6f850d9 100644
--- a/x11-toolkits/gtkmathview/Makefile
+++ b/x11-toolkits/gtkmathview/Makefile
@@ -24,23 +24,17 @@ USE_GETOPT_LONG= yes
USE_X_PREFIX= yes
USE_GNOME= glib12 gtk12
USE_LIBTOOL= yes
+CPPFLAGS= -I${LOCALBASE}/include -DHAVE_DECL_GETOPT
+LDFLAGS= -L${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_GMAKE= yes
INSTALLS_SHLIB= yes
MAN1= mathmlviewer.1 mathml2ps.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500000
-BROKEN= Does not build on FreeBSD 5.x
-.endif
-
post-patch:
.for file in src/stringAux.cc src/PS_T1_FontManager.cc
@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g" ${WRKSRC}/${file}
.endfor
-post-install:
- @install-info ${PREFIX}/info/gtkmathview.info ${PREFIX}/info/dir
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-toolkits/gtkmathview/pkg-plist b/x11-toolkits/gtkmathview/pkg-plist
index 8ff5c301a478..90331889c7d2 100644
--- a/x11-toolkits/gtkmathview/pkg-plist
+++ b/x11-toolkits/gtkmathview/pkg-plist
@@ -5,11 +5,10 @@ include/gtkmathview/defs.h
include/gtkmathview/gtkmathview.h
@dirrm include/gtkmathview
lib/libgtkmathview.a
+lib/libgtkmathview.la
lib/libgtkmathview.so
-lib/libgtkmathview.so.3
-@unexec install-info --delete %D/info/gtkmathview.info %D/info/dir
-info/gtkmathview.info
-@exec install-info %D/info/gtkmathview.info %D/info/dir
+lib/libgtkmathview.so.4
+lib/pkgconfig/gtkmathview.pc
share/gtkmathview/dictionary-combining.xml
share/gtkmathview/dictionary-local.xml
share/gtkmathview/dictionary.dtd
@@ -28,3 +27,4 @@ share/gtkmathview/math-engine-configuration.dtd
share/gtkmathview/math-engine-configuration.xml
share/gtkmathview/t1.config
@dirrm share/gtkmathview
+@unexec rmdir %D/lib/pkgconfig 2>/dev/null || true