diff options
author | marcus <marcus@FreeBSD.org> | 2002-05-22 23:25:56 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-05-22 23:25:56 +0000 |
commit | 45685b1e171dbb28c2b68d5c87eee9ea0e4f9859 (patch) | |
tree | e6fc204e7c771f4b092da65cece54fde75bed4f4 /x11 | |
parent | 3f6c0a842c998873853394ffcdbf464d31f664a2 (diff) | |
download | FreeBSD-ports-45685b1e171dbb28c2b68d5c87eee9ea0e4f9859.zip FreeBSD-ports-45685b1e171dbb28c2b68d5c87eee9ea0e4f9859.tar.gz |
Allow USE_X_PREFIX to work again.
Reported by: Mike Harding <mvh@ix.netcom.com>
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnomeapplets/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/x11/gnomeapplets/Makefile b/x11/gnomeapplets/Makefile index 652a35e..c33fe72 100644 --- a/x11/gnomeapplets/Makefile +++ b/x11/gnomeapplets/Makefile @@ -17,15 +17,6 @@ MAINTAINER= gnome@FreeBSD.org LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop -.include <bsd.port.pre.mk> - -.if ${ARCH} != "i386" -EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.in -PLIST_SUB= BATTERY="@comment " -.else -PLIST_SUB= BATTERY="" -.endif - USE_X_PREFIX= yes USE_GMAKE= yes USE_GNOME= yes @@ -43,6 +34,15 @@ MAN1= another_clock_applet.1 asclock_applet.1 battery_applet.1 \ quicklaunch_applet.1 slash_applet.1 sound-monitor_applet.1 \ tickastat_applet.1 webcontrol_applet.1 whereami_applet.1 +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +EXTRA_PATCHES= ${FILESDIR}/extra-patch-Makefile.in +PLIST_SUB= BATTERY="@comment " +.else +PLIST_SUB= BATTERY="" +.endif + pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |