diff options
-rw-r--r-- | x11/ebuttons/Makefile | 7 | ||||
-rw-r--r-- | x11/erun/Makefile | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/x11/ebuttons/Makefile b/x11/ebuttons/Makefile index 661b528f4e93..7e2258dc1089 100644 --- a/x11/ebuttons/Makefile +++ b/x11/ebuttons/Makefile @@ -16,16 +16,15 @@ EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= A simple epplet that contains several buttons used to launch programs -LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/libepplet +LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/epplets PLIST_FILES= bin/E-Buttons.epplet WRKSRC= ${WRKDIR}/E-buttons USE_X_PREFIX= yes - -CPPFLAGS= -I${X11BASE}/include ${PTHREAD_CFLAGS} -LDFLAGS= -L${X11BASE}/lib -lepplet ${PTHREAD_LIBS} +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lepplet -lGL ${PTHREAD_LIBS} do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o E-Buttons.epplet \ diff --git a/x11/erun/Makefile b/x11/erun/Makefile index 0edcbbf9ba2b..3b335d6d53ca 100644 --- a/x11/erun/Makefile +++ b/x11/erun/Makefile @@ -15,7 +15,7 @@ MASTER_SITE_SUBDIR= kbyanc MAINTAINER= ports@FreeBSD.org COMMENT= A simple epplet for launching arbitrary programs -LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/libepplet +LIB_DEPENDS= epplet.1:${PORTSDIR}/x11-wm/epplets PLIST_FILES= bin/E-Run.epplet @@ -23,8 +23,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} USE_X_PREFIX= yes -CPPFLAGS= -I${X11BASE}/include ${PTHREAD_CFLAGS} -LDFLAGS= -L${X11BASE}/lib -lepplet ${PTHREAD_LIBS} +CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -lepplet -lGL ${PTHREAD_LIBS} do-build: cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o ${PORTNAME}.epplet \ |