diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
commit | 68dad4980b984b6c03859651af5eefb37c1c9d90 (patch) | |
tree | a1b402b639681e7623529a2295404459e0d45edf /mail/sonicmail | |
parent | 30fb8569371544b140cbfbe9d8d545a551b7a815 (diff) | |
download | freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.zip |
Implement USE_GNOME, part 2.
Diffstat (limited to 'mail/sonicmail')
-rw-r--r-- | mail/sonicmail/Makefile | 10 | ||||
-rw-r--r-- | mail/sonicmail/files/patch-aa | 6 |
2 files changed, 11 insertions, 5 deletions
diff --git a/mail/sonicmail/Makefile b/mail/sonicmail/Makefile index 74e85ad3e819..6c166a89a5d2 100644 --- a/mail/sonicmail/Makefile +++ b/mail/sonicmail/Makefile @@ -12,8 +12,14 @@ MASTER_SITES= http://download.sourceforge.net/sonicmail/ MAINTAINER= nakai@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - USE_X_PREFIX= yes +USE_GNOME= yes + +pre-patch: + @${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/mail/sonicmail/files/patch-aa b/mail/sonicmail/files/patch-aa index d0e58373185e..2986fa716524 100644 --- a/mail/sonicmail/files/patch-aa +++ b/mail/sonicmail/files/patch-aa @@ -6,8 +6,8 @@ # Change these to the default location of the pixmaps/wav files: -XPMSPATH = /usr/share/pixmaps/sonicmail -WAVSPATH = /usr/share/sound/sonicmail -+XPMSPATH = /usr/X11R6/share/pixmaps/sonicmail -+WAVSPATH = /usr/X11R6/share/sound/sonicmail ++XPMSPATH = ${PREFIX}/share/pixmaps/sonicmail ++WAVSPATH = ${PREFIX}/share/sound/sonicmail # Change to 1 to activate debug mode: SONICMAIL_DEBUG = 0 @@ -16,7 +16,7 @@ CFLAGS = -Wall $($(OSTYPE)_Flags) -O2 `gnome-config --cflags applets` $(DEFINES) -LFLAGS = `gnome-config --libs applets` `gtk-config --libs gthread` -lpthread -+LFLAGS = `gnome-config --libs applets` `gtk12-config --libs gthread` ++LFLAGS = `gnome-config --libs applets` `${GTK_CONFIG} --libs gthread` # Define platform specific flags/libraries below: Linux_Flags = -DLINUX |