summaryrefslogtreecommitdiff
path: root/editors/lpe/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/lpe/Makefile')
-rw-r--r--editors/lpe/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/lpe/Makefile b/editors/lpe/Makefile
index f1c52fc8d00b..2596a1c8ccfe 100644
--- a/editors/lpe/Makefile
+++ b/editors/lpe/Makefile
@@ -17,7 +17,8 @@ LIB_DEPENDS= slang.1:${PORTSDIR}/devel/libslang \
USE_GMAKE= yes
USE_LIBTOOL= yes
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include" \
LIBS="-ltermcap"
CONFIGURE_ARGS= --includedir=${LOCALBASE}/include