aboutsummaryrefslogtreecommitdiff
path: root/palm/gnomepilot-conduits2
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-08-04 01:34:38 +0000
committerAde Lovett <ade@FreeBSD.org>2000-08-04 01:34:38 +0000
commit9594f3f8939f5178057c6a588135f0bab6d52511 (patch)
tree923d26a5ec2be934317cf261a38183917c93fe7a /palm/gnomepilot-conduits2
parent5035c4b32a83e9b13642c8ca8569d6ba2b001420 (diff)
downloadports-9594f3f8939f5178057c6a588135f0bab6d52511.tar.gz
ports-9594f3f8939f5178057c6a588135f0bab6d52511.zip
Notes
Diffstat (limited to 'palm/gnomepilot-conduits2')
-rw-r--r--palm/gnomepilot-conduits2/Makefile7
-rw-r--r--palm/gnomepilot-conduits2/files/patch-ab9
2 files changed, 7 insertions, 9 deletions
diff --git a/palm/gnomepilot-conduits2/Makefile b/palm/gnomepilot-conduits2/Makefile
index f83c7c1dbf97..9511b3a735ff 100644
--- a/palm/gnomepilot-conduits2/Makefile
+++ b/palm/gnomepilot-conduits2/Makefile
@@ -31,4 +31,11 @@ CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" GLIB_CONFIG="${GLIB_CONFIG}" \
CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/pilot/include" \
LIBS="-L${LOCALBASE}/lib -L${LOCALBASE}/pilot/lib"
+post-extract:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
.include <bsd.port.mk>
diff --git a/palm/gnomepilot-conduits2/files/patch-ab b/palm/gnomepilot-conduits2/files/patch-ab
index ad0c57d652ee..485d8e8571fb 100644
--- a/palm/gnomepilot-conduits2/files/patch-ab
+++ b/palm/gnomepilot-conduits2/files/patch-ab
@@ -1,14 +1,5 @@
--- mal-conduit/src/Makefile.in.orig Wed May 10 01:26:11 2000
+++ mal-conduit/src/Makefile.in Tue May 16 17:07:16 2000
-@@ -147,7 +147,7 @@
- ccenterConduitsdir = $(ccenterPalmPilotdir)/Conduits
- ccenterConduits_DATA = mal-conduit-control-applet.desktop
-
--panelConduitsdir = $(datadir)/gnome/apps/Settings/Peripherals/Conduits
-+panelConduitsdir = $(datadir)/apps/Settings/Peripherals/Conduits
- panelConduits_DATA = $(ccenterConduits_DATA)
-
- Conduitsdir = $(datadir)/gnome-pilot/conduits/
@@ -168,7 +168,7 @@
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@