diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:10:50 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:10:50 +0000 |
commit | b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02 (patch) | |
tree | 1b4ff069c830fd60b78ef9613fa9aa5abef69f83 /devel/pharmacy/Makefile | |
parent | bebd89314e57ff34ea47724c5605a0f32c425dcf (diff) | |
download | ports-b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02.tar.gz ports-b7bdcd418e7aca3dd98409e16a4c4ae9bc289d02.zip |
Notes
Diffstat (limited to 'devel/pharmacy/Makefile')
-rw-r--r-- | devel/pharmacy/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/devel/pharmacy/Makefile b/devel/pharmacy/Makefile index eb527a624bbb..127fc7423c9c 100644 --- a/devel/pharmacy/Makefile +++ b/devel/pharmacy/Makefile @@ -12,18 +12,20 @@ MASTER_SITES= http://home.earthlink.net/~nawalker/pharmacy/ MAINTAINER= jedgar@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOME= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-x -CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ +CONFIGURE_ENV+= CPPCFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g ; \ + s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \ + s|\$$\(top_builddir\)/intl/libintl.a|-lintl|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> |