balsa: add back pre.mk and post.mk seem to fix the failure

gnome-applets: move the pre.mk up to include the ARCH test.

Submitted by:	freshports sanity check
This commit is contained in:
Koop Mast 2013-03-19 11:03:57 +00:00
parent 3c2e4ac3de
commit 828e674b46
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314634
2 changed files with 6 additions and 3 deletions

View File

@ -77,6 +77,8 @@ CONFIGURE_ARGS+=--with-libnotify=yes
CONFIGURE_ARGS+=--with-libnotify=no
.endif
.include <bsd.port.pre.mk>
.if ${PREFIX}==${LOCALBASE}
PLIST_SUB+= GTKICON="@comment "
.else
@ -93,4 +95,4 @@ post-patch:
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|-D.*_DISABLE_DEPRECATED_SOURCE||g ; s|-D.*_DISABLE_DEPRECATED||g'
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -30,6 +30,7 @@ INSTALLS_ICONS= yes
USE_LDCONFIG= yes
USES= pathfix
USE_GNOME= gnomeprefix intlhack gnomepanel gnomedocutils libgnomekbd
WANT_GNOME= yes
USE_GSTREAMER= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-mixer-applet \
@ -59,6 +60,8 @@ PLIST_SUB+= COMMANDER="" OLDCOMMANDER="@comment "
PLIST_SUB+= COMMANDER="@comment " OLDCOMMANDER=""
.endif
.include <bsd.port.pre.mk>
.if ( exists(${pygnomedesktop_DETECT}) ) || \
( ( ${HAVE_GNOME:Mpygnomedesktop}!="" ) && ${ARCH}!="sparc64" )
USE_PYTHON= yes
@ -69,8 +72,6 @@ PLIST_SUB+= PYTHON=""
PLIST_SUB+= PYTHON="@comment "
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386" && ${ARCH} != "amd64"
CFLAGS+= -fPIC
PLIST_SUB= BATTERY="@comment "