diff options
Diffstat (limited to 'x11/gnomeapplets2/Makefile')
-rw-r--r-- | x11/gnomeapplets2/Makefile | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/x11/gnomeapplets2/Makefile b/x11/gnomeapplets2/Makefile index 16a500fb8..4d86584d6 100644 --- a/x11/gnomeapplets2/Makefile +++ b/x11/gnomeapplets2/Makefile @@ -28,13 +28,16 @@ USE_GNOME= gnomehier gnomeprefix gnomehack intlhack gnomepanel \ gstreamerplugins gail USE_LIBTOOL_VER=15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" \ + FREEBSD_SYS=${FREEBSD_SYS} GCONF_SCHEMAS= charpick.schemas drivemount.schemas geyes.schemas gkb.schemas \ gswitchit.schemas gtik.schemas gweather.schemas \ mailcheck.schemas mini-commander.schemas mixer.schemas \ modemlights.schemas multiload.schemas stickynotes.schemas +FREEBSD_SYS?= /usr/src/sys + .include <bsd.port.pre.mk> .if ${ARCH} != "i386" @@ -43,6 +46,18 @@ PLIST_SUB= BATTERY="@comment " .else GCONF_SCHEMAS+= battstat.schemas PLIST_SUB= BATTERY="" + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} " W A R N I N G" + @${ECHO_MSG} "*****************************************************" + @${ECHO_MSG} "* gnomeapplets2 requires that you have your kernel *" + @${ECHO_MSG} "* sources installed. If your kernel sources *" + @${ECHO_MSG} "* are somewhere other than /usr/src/sys, you *" + @${ECHO_MSG} "* may set the FREEBSD_SYS variable to the *" + @${ECHO_MSG} "* correct path. *" + @${ECHO_MSG} "*****************************************************" + @${ECHO_MSG} "" .endif .include <bsd.port.post.mk> |