diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-28 06:17:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-28 06:17:21 +0000 |
commit | 0b05bd85f35c3fc269035578b36db0d2b566d078 (patch) | |
tree | 08b178cd97bcf9204013757c8f266e336f47c8db /regress/buildlink-unwrap/tests/unwrap-config.mk | |
parent | 8d572feba3c42eb07c7ebefebf9ff3a724667181 (diff) | |
download | pkgsrc-0b05bd85f35c3fc269035578b36db0d2b566d078.tar.gz |
Regression test for whether *-config scripts and other similar files are
correctly unwrapped (unbuildinkified).
Diffstat (limited to 'regress/buildlink-unwrap/tests/unwrap-config.mk')
-rw-r--r-- | regress/buildlink-unwrap/tests/unwrap-config.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/regress/buildlink-unwrap/tests/unwrap-config.mk b/regress/buildlink-unwrap/tests/unwrap-config.mk new file mode 100644 index 00000000000..5b7a0aee12f --- /dev/null +++ b/regress/buildlink-unwrap/tests/unwrap-config.mk @@ -0,0 +1,22 @@ +# $NetBSD: unwrap-config.mk,v 1.1.1.1 2004/08/28 06:17:21 jlam Exp $ + +.PHONY: unwrap-config-cflags +do-regress: unwrap-config-cflags +unwrap-config-cflags: + @test="unwrap-config --cflags"; \ + expected="-I${PREFIX}/include"; \ + ${TEST_RESULT} + +.PHONY: unwrap-config-ldflags +do-regress: unwrap-config-ldflags +unwrap-config-ldflags: + @test="unwrap-config --ldflags"; \ + expected="-L${PREFIX}/lib ${COMPILER_RPATH_FLAG}${PREFIX}/lib"; \ + ${TEST_RESULT} + +.PHONY: unwrap-config-libs +do-regress: unwrap-config-libs +unwrap-config-libs: + @test="unwrap-config --libs"; \ + expected="-ledit -ltermcap -lm"; \ + ${TEST_RESULT} |