aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-10-19 02:33:22 +0800
committerlofi <lofi@FreeBSD.org>2005-10-19 02:33:22 +0800
commit67db65c97cd317e5cab7f3cecc46be0106452199 (patch)
treee2a13a0913b293b4f674ecce0184661d602af9be /security
parent36f0c37b69a32aac5ee184bcbcc389d39d286b54 (diff)
downloadfreebsd-ports-gnome-67db65c97cd317e5cab7f3cecc46be0106452199.tar.gz
freebsd-ports-gnome-67db65c97cd317e5cab7f3cecc46be0106452199.tar.zst
freebsd-ports-gnome-67db65c97cd317e5cab7f3cecc46be0106452199.zip
Make PREFIX-safe
Diffstat (limited to 'security')
-rw-r--r--security/pinentry/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 5e02c60b138e..5473a8e493ba 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -48,7 +48,7 @@ PLIST_SUB+= WITH_QT="@comment "
.if defined(PINENTRY_GTK)
USE_GNOME+= gtk12
PLIST_SUB+= WITH_GTK=""
-CONFIGURE_ENV+= CFLAGS=-I/usr/local/include
+CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include
.else
CONFIGURE_ARGS+=--disable-pinentry-gtk
PLIST_SUB+= WITH_GTK="@comment "
@@ -57,7 +57,7 @@ PLIST_SUB+= WITH_GTK="@comment "
.if defined(PINENTRY_GTK2)
USE_GNOME+= gtk20
PLIST_SUB+= WITH_GTK2=""
-CONFIGURE_ENV+= CFLAGS=-I/usr/local/include
+CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include
.else
CONFIGURE_ARGS+=--disable-pinentry-gtk2
PLIST_SUB+= WITH_GTK2="@comment "
@@ -65,7 +65,7 @@ PLIST_SUB+= WITH_GTK2="@comment "
.if defined(PINENTRY_CURSES)
PLIST_SUB+= WITH_CURSES=""
-CONFIGURE_ENV+= CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib
+CONFIGURE_ENV+= CFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
.else
CONFIGURE_ARGS+=--disable-pinentry-curses
PLIST_SUB+= WITH_CURSES="@comment "