aboutsummaryrefslogtreecommitdiff
path: root/databases/pxtools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pxtools/Makefile')
-rw-r--r--databases/pxtools/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/pxtools/Makefile b/databases/pxtools/Makefile
index 933b7424f9fa..28c00edf2392 100644
--- a/databases/pxtools/Makefile
+++ b/databases/pxtools/Makefile
@@ -16,9 +16,8 @@ COMMENT= Collection of tools to work with Paradox databases
GNU_CONFIGURE= yes
USE_GETTEXT= yes
-CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CPPFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e 's|-O2|${CFLAGS}|' \