diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-10-18 18:33:22 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-10-18 18:33:22 +0000 |
commit | e30952839d1c2620a56c5a4cc309218e305c0293 (patch) | |
tree | 2f02bf2a0858d41354d324ec9547eee0f411b02d /security/pinentry | |
parent | Initial support for non-/usr/local builds (diff) |
Make PREFIX-safe
Notes
Notes:
svn path=/head/; revision=145789
Diffstat (limited to 'security/pinentry')
-rw-r--r-- | security/pinentry/Makefile | 6 |
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 " |